spree / spree

An open source eCommerce platform giving you full control and customizability. Modular and API-first. Build any eCommerce solution that your business requires. Developed by @vendo-dev
https://spreecommerce.org
Other
12.85k stars 4.93k forks source link

Failing Tests when Cloning 3.2.1 running core specs #8047

Closed stujo closed 6 years ago

stujo commented 7 years ago

Attempting to get a clean run of the specs in core

Context

Would like a clean baseline for our own development

Expected Behavior

Tests should pass?

Actual Behavior

    $ bundle exec rspec spec
    .................................................................................................................................................................................................................................................................................................................F.FF......................................................................................................................................................................................................................................................................................................................................................................*.................................................................................................................................................................................F........................................................................................................................................................................................................................F.FF..F....F............FFFFF........................................................................................................................................................................................................F....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.............................................................................................................................................................................

    Pending: (Failures listed here are expected and do not affect your suite's status)

      1) Spree::Order subclassed order should only call default transitions once when checkout_flow is redefined
         # No reason given
         # ./spec/models/spree/order/checkout_spec.rb:513

    Failures:

      1) Spree::Address validation state_name is not nil and country does not have any states
         Failure/Error: expect(address).to be_valid
           expected #<Spree::Address id: nil, firstname: "John", lastname: "Doe", address1: "10 Lovely Street", address2: "Northwest", city: "Herndon", zipcode: "35005", phone: "555-555-0199", state_name: "alabama", alternative_phone: "555-555-0199", company: "Company", state_id: nil, country_id: 1144, created_at: nil, updated_at: nil> to be valid, but got errors: State is invalid
         # ./spec/models/spree/address_spec.rb:79:in `block (3 levels) in <top (required)>'
         # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'

      2) Spree::Address validation full state name is in state_name and country does contain that state
         Failure/Error: expect(address).to be_valid
           expected #<Spree::Address id: nil, firstname: "John", lastname: "Doe", address1: "10 Lovely Street", address2: "Northwest", city: "Herndon", zipcode: "35005", phone: "555-555-0199", state_name: "alabama", alternative_phone: "555-555-0199", company: "Company", state_id: nil, country_id: 1148, created_at: nil, updated_at: nil> to be valid, but got errors: State is invalid
         # ./spec/models/spree/address_spec.rb:92:in `block (3 levels) in <top (required)>'
         # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'

      3) Spree::Address validation state abbr is in state_name and country does contain that state
         Failure/Error: expect(address).to be_valid
           expected #<Spree::Address id: nil, firstname: "John", lastname: "Doe", address1: "10 Lovely Street", address2: "Northwest", city: "Herndon", zipcode: "35005", phone: "555-555-0199", state_name: "md", alternative_phone: "555-555-0199", company: "Company", state_id: nil, country_id: 1150, created_at: nil, updated_at: nil> to be valid, but got errors: State is invalid
         # ./spec/models/spree/address_spec.rb:99:in `block (3 levels) in <top (required)>'
         # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'

      4) Spree::OrderInventory when order has too many inventory units #remove_from_shipment should destroy self if not inventory units remain
         Failure/Error: expect(shipment).to receive(:destroy)

           (#<Spree::Shipment id: 390, tracking: "U10000", number: "H04440612436", cost: #<BigDecimal: 100.0>, shipped_at: nil, order_id: 915, address_id: nil, state: "pending", created_at: "2017-06-08 18:37:27", updated_at: "2017-06-08 18:37:27", stock_location_id: 703, adjustment_total: #<BigDecimal: 0.0>, additional_tax_total: #<BigDecimal: 0.0>, promo_total: #<BigDecimal: 0.0>, included_tax_total: #<BigDecimal: 0.0>, pre_tax_amount: #<BigDecimal: 0.0>, taxable_adjustment_total: #<BigDecimal: 0.0>, non_taxable_adjustment_total: #<BigDecimal: 0.0>>).destroy(*(any args))
               expected: 1 time with any arguments
               received: 0 times with any arguments
         # ./spec/models/spree/order_inventory_spec.rb:216:in `block (4 levels) in <top (required)>'
         # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'

      5) Spree::Payment processing #process! should make the state 'processing'
         Failure/Error: log_entries.create!(details: response.to_yaml)

         ActiveRecord::RecordNotSaved:
           You cannot call create unless the parent is saved
         # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:488:in `_create_record'
         # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/has_many_association.rb:130:in `_create_record'
         # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:174:in `create!'
         # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_proxy.rb:337:in `create!'
         # ./app/models/spree/payment/processing.rb:146:in `record_response'
         # ./app/models/spree/payment/processing.rb:126:in `handle_response'
         # ./app/models/spree/payment/processing.rb:121:in `block in gateway_action'
         # ./app/models/spree/payment/processing.rb:151:in `protect_from_connection_error'
         # ./app/models/spree/payment/processing.rb:117:in `gateway_action'
         # ./app/models/spree/payment/processing.rb:85:in `process_authorization'
         # ./app/models/spree/payment/processing.rb:19:in `block in authorize!'
         # ./app/models/spree/payment/processing.rb:104:in `handle_payment_preconditions'
         # ./app/models/spree/payment/processing.rb:19:in `authorize!'
         # ./app/models/spree/payment/processing.rb:14:in `process!'
         # ./spec/models/spree/payment_spec.rb:174:in `block (4 levels) in <top (required)>'
         # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'

      6) Spree::Payment processing #process! should allow payments with a gateway_customer_profile_id
         Failure/Error: log_entries.create!(details: response.to_yaml)

         ActiveRecord::RecordNotSaved:
           You cannot call create unless the parent is saved
         # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:488:in `_create_record'
         # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/has_many_association.rb:130:in `_create_record'
         # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:174:in `create!'
         # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_proxy.rb:337:in `create!'
         # ./app/models/spree/payment/processing.rb:146:in `record_response'
         # ./app/models/spree/payment/processing.rb:126:in `handle_response'
         # ./app/models/spree/payment/processing.rb:121:in `block in gateway_action'
         # ./app/models/spree/payment/processing.rb:151:in `protect_from_connection_error'
         # ./app/models/spree/payment/processing.rb:117:in `gateway_action'
         # ./app/models/spree/payment/processing.rb:85:in `process_authorization'
         # ./app/models/spree/payment/processing.rb:19:in `block in authorize!'
         # ./app/models/spree/payment/processing.rb:104:in `handle_payment_preconditions'
         # ./app/models/spree/payment/processing.rb:19:in `authorize!'
         # ./app/models/spree/payment/processing.rb:14:in `process!'
         # ./spec/models/spree/payment_spec.rb:188:in `block (4 levels) in <top (required)>'
         # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'

      7) Spree::Payment processing #process! should allow payments with a gateway_payment_profile_id
         Failure/Error: log_entries.create!(details: response.to_yaml)

         ActiveRecord::RecordNotSaved:
           You cannot call create unless the parent is saved
         # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:488:in `_create_record'
         # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/has_many_association.rb:130:in `_create_record'
         # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:174:in `create!'
         # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_proxy.rb:337:in `create!'
         # ./app/models/spree/payment/processing.rb:146:in `record_response'
         # ./app/models/spree/payment/processing.rb:126:in `handle_response'
         # ./app/models/spree/payment/processing.rb:121:in `block in gateway_action'
         # ./app/models/spree/payment/processing.rb:151:in `protect_from_connection_error'
         # ./app/models/spree/payment/processing.rb:117:in `gateway_action'
         # ./app/models/spree/payment/processing.rb:85:in `process_authorization'
         # ./app/models/spree/payment/processing.rb:19:in `block in authorize!'
         # ./app/models/spree/payment/processing.rb:104:in `handle_payment_preconditions'
         # ./app/models/spree/payment/processing.rb:19:in `authorize!'
         # ./app/models/spree/payment/processing.rb:14:in `process!'
         # ./spec/models/spree/payment_spec.rb:196:in `block (4 levels) in <top (required)>'
         # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'

      8) Spree::Payment processing #authorize! should log the response
         Failure/Error: expect(payment.log_entries).to receive(:create!).with(details: anything)

           (#<ActiveRecord::Associations::CollectionProxy [#<Spree::LogEntry id: 29, source_type: "Spree::Payment", source_id: 215, details: "--- !ruby/object:ActiveMerchant::Billing::Response...", created_at: "2017-06-08 18:37:43", updated_at: "2017-06-08 18:37:43">]>).create!({:details=>anything})
               expected: 1 time with arguments: ({:details=>anything})
               received: 0 times
         # ./spec/models/spree/payment_spec.rb:218:in `block (4 levels) in <top (required)>'
         # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'

      9) Spree::Payment processing #purchase! should log the response
         Failure/Error: expect(payment.log_entries).to receive(:create!).with(details: anything)

           (#<ActiveRecord::Associations::CollectionProxy [#<Spree::LogEntry id: 34, source_type: "Spree::Payment", source_id: 220, details: "--- !ruby/object:ActiveMerchant::Billing::Response...", created_at: "2017-06-08 18:37:43", updated_at: "2017-06-08 18:37:43">]>).create!({:details=>anything})
               expected: 1 time with arguments: ({:details=>anything})
               received: 0 times
         # ./spec/models/spree/payment_spec.rb:263:in `block (4 levels) in <top (required)>'
         # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'

      10) Spree::Payment processing #void_transaction! should log the response
          Failure/Error: log_entries.create!(details: response.to_yaml)

          ActiveRecord::RecordNotSaved:
            You cannot call create unless the parent is saved
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:488:in `_create_record'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/has_many_association.rb:130:in `_create_record'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:174:in `create!'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_proxy.rb:337:in `create!'
          # ./app/models/spree/payment/processing.rb:146:in `record_response'
          # ./app/models/spree/payment/processing.rb:60:in `block in void_transaction!'
          # ./app/models/spree/payment/processing.rb:151:in `protect_from_connection_error'
          # ./app/models/spree/payment/processing.rb:50:in `void_transaction!'
          # ./spec/models/spree/payment_spec.rb:419:in `block (4 levels) in <top (required)>'
          # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'

      11) Spree::Payment processing #void_transaction! when profiles are supported should call payment_gateway.void with the payment's response_code
          Failure/Error: log_entries.create!(details: response.to_yaml)

          ActiveRecord::RecordNotSaved:
            You cannot call create unless the parent is saved
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:488:in `_create_record'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/has_many_association.rb:130:in `_create_record'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:174:in `create!'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_proxy.rb:337:in `create!'
          # ./app/models/spree/payment/processing.rb:146:in `record_response'
          # ./app/models/spree/payment/processing.rb:60:in `block in void_transaction!'
          # ./app/models/spree/payment/processing.rb:151:in `protect_from_connection_error'
          # ./app/models/spree/payment/processing.rb:50:in `void_transaction!'
          # ./spec/models/spree/payment_spec.rb:405:in `block (5 levels) in <top (required)>'
          # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'

      12) Spree::Payment processing #void_transaction! when profiles are not supported should call payment_gateway.void with the payment's response_code
          Failure/Error: log_entries.create!(details: response.to_yaml)

          ActiveRecord::RecordNotSaved:
            You cannot call create unless the parent is saved
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:488:in `_create_record'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/has_many_association.rb:130:in `_create_record'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:174:in `create!'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_proxy.rb:337:in `create!'
          # ./app/models/spree/payment/processing.rb:146:in `record_response'
          # ./app/models/spree/payment/processing.rb:60:in `block in void_transaction!'
          # ./app/models/spree/payment/processing.rb:151:in `protect_from_connection_error'
          # ./app/models/spree/payment/processing.rb:50:in `void_transaction!'
          # ./spec/models/spree/payment_spec.rb:413:in `block (5 levels) in <top (required)>'
          # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'

      13) Spree::Payment processing #void_transaction! if successful should update the response_code with the authorization from the gateway
          Failure/Error: log_entries.create!(details: response.to_yaml)

          ActiveRecord::RecordNotSaved:
            You cannot call create unless the parent is saved
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:488:in `_create_record'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/has_many_association.rb:130:in `_create_record'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:174:in `create!'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_proxy.rb:337:in `create!'
          # ./app/models/spree/payment/processing.rb:146:in `record_response'
          # ./app/models/spree/payment/processing.rb:60:in `block in void_transaction!'
          # ./app/models/spree/payment/processing.rb:151:in `protect_from_connection_error'
          # ./app/models/spree/payment/processing.rb:50:in `void_transaction!'
          # ./spec/models/spree/payment_spec.rb:426:in `block (5 levels) in <top (required)>'
          # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'

      14) Spree::Payment processing #void_transaction! if unsuccessful should not void the payment
          Failure/Error: expect { payment.void_transaction! }.to raise_error(Spree::Core::GatewayError)

            expected Spree::Core::GatewayError, got #<ActiveRecord::RecordNotSaved: You cannot call create unless the parent is saved> with backtrace:
              # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:488:in `_create_record'
              # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/has_many_association.rb:130:in `_create_record'
              # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:174:in `create!'
              # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_proxy.rb:337:in `create!'
              # ./app/models/spree/payment/processing.rb:146:in `record_response'
              # ./app/models/spree/payment/processing.rb:60:in `block in void_transaction!'
              # ./app/models/spree/payment/processing.rb:151:in `protect_from_connection_error'
              # ./app/models/spree/payment/processing.rb:50:in `void_transaction!'
              # ./spec/models/spree/payment_spec.rb:435:in `block (6 levels) in <top (required)>'
              # ./spec/models/spree/payment_spec.rb:435:in `block (5 levels) in <top (required)>'
              # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'
          # ./spec/models/spree/payment_spec.rb:435:in `block (5 levels) in <top (required)>'
          # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'

      15) Spree::Product product instance slugs stores old slugs in FriendlyIds history
          Failure/Error: expect(product.slugs).to receive(:create!)

            (#<ActiveRecord::Associations::CollectionProxy [#<FriendlyId::Slug id: 783, slug: "custom-slug", sluggable_id: 732, sluggable_type: "Spree::Product", scope: nil, created_at: "2017-06-08 18:38:01", deleted_at: nil>, #<FriendlyId::Slug id: 782, slug: "product-676-3256", sluggable_id: 732, sluggable_type: "Spree::Product", scope: nil, created_at: "2017-06-08 18:38:01", deleted_at: nil>]>).create!(*(any args))
                expected: 1 time with any arguments
                received: 0 times with any arguments
          # ./spec/models/spree/product_spec.rb:230:in `block (4 levels) in <top (required)>'
          # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'

      16) Spree::Taxon set_permalink stores old slugs in FriendlyIds history
          Failure/Error: subject.run_callbacks :save

          ActiveRecord::RecordNotSaved:
            You cannot call create unless the parent is saved
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:488:in `_create_record'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/has_many_association.rb:130:in `_create_record'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_association.rb:174:in `create!'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activerecord-5.0.3/lib/active_record/associations/collection_proxy.rb:337:in `create!'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/friendly_id-5.1.0/lib/friendly_id/history.rb:130:in `create_slug'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activesupport-5.0.3/lib/active_support/callbacks.rb:382:in `block in make_lambda'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activesupport-5.0.3/lib/active_support/callbacks.rb:207:in `block in halting_and_conditional'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activesupport-5.0.3/lib/active_support/callbacks.rb:456:in `block in call'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activesupport-5.0.3/lib/active_support/callbacks.rb:456:in `each'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activesupport-5.0.3/lib/active_support/callbacks.rb:456:in `call'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activesupport-5.0.3/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activesupport-5.0.3/lib/active_support/callbacks.rb:750:in `_run_save_callbacks'
          # /Users/username/.rvm/gems/ruby-2.3.4/gems/activesupport-5.0.3/lib/active_support/callbacks.rb:90:in `run_callbacks'
          # ./spec/models/spree/taxon_spec.rb:34:in `block (3 levels) in <top (required)>'
          # ./spec/spec_helper.rb:77:in `block (2 levels) in <top (required)>'

    Finished in 7 minutes 17 seconds (files took 5.15 seconds to load)
    2430 examples, 16 failures, 1 pending

    Failed examples:

    rspec ./spec/models/spree/address_spec.rb:76 # Spree::Address validation state_name is not nil and country does not have any states
    rspec ./spec/models/spree/address_spec.rb:88 # Spree::Address validation full state name is in state_name and country does contain that state
    rspec ./spec/models/spree/address_spec.rb:97 # Spree::Address validation state abbr is in state_name and country does contain that state
    rspec ./spec/models/spree/order_inventory_spec.rb:214 # Spree::OrderInventory when order has too many inventory units #remove_from_shipment should destroy self if not inventory units remain
    rspec ./spec/models/spree/payment_spec.rb:172 # Spree::Payment processing #process! should make the state 'processing'
    rspec ./spec/models/spree/payment_spec.rb:184 # Spree::Payment processing #process! should allow payments with a gateway_customer_profile_id
    rspec ./spec/models/spree/payment_spec.rb:192 # Spree::Payment processing #process! should allow payments with a gateway_payment_profile_id
    rspec ./spec/models/spree/payment_spec.rb:216 # Spree::Payment processing #authorize! should log the response
    rspec ./spec/models/spree/payment_spec.rb:261 # Spree::Payment processing #purchase! should log the response
    rspec ./spec/models/spree/payment_spec.rb:417 # Spree::Payment processing #void_transaction! should log the response
    rspec ./spec/models/spree/payment_spec.rb:402 # Spree::Payment processing #void_transaction! when profiles are supported should call payment_gateway.void with the payment's response_code
    rspec ./spec/models/spree/payment_spec.rb:410 # Spree::Payment processing #void_transaction! when profiles are not supported should call payment_gateway.void with the payment's response_code
    rspec ./spec/models/spree/payment_spec.rb:423 # Spree::Payment processing #void_transaction! if successful should update the response_code with the authorization from the gateway
    rspec ./spec/models/spree/payment_spec.rb:432 # Spree::Payment processing #void_transaction! if unsuccessful should not void the payment
    rspec ./spec/models/spree/product_spec.rb:226 # Spree::Product product instance slugs stores old slugs in FriendlyIds history
    rspec ./spec/models/spree/taxon_spec.rb:26 # Spree::Taxon set_permalink stores old slugs in FriendlyIds history

Possible Fix

Steps to Reproduce

  1. Clone Repo
  2. cd core
    • bundle
    • install mysql to resolve dependency
    • bundle
  3. DB=postgres bundle exec rake test_app
  4. bundle exec rspec spec

Your Environment

GEM remote: https://rubygems.org/ specs: abstract_type (0.0.7) actioncable (5.0.3) actionpack (= 5.0.3) nio4r (>= 1.2, < 3.0) websocket-driver (~> 0.6.1) actionmailer (5.0.3) actionpack (= 5.0.3) actionview (= 5.0.3) activejob (= 5.0.3) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) actionpack (5.0.3) actionview (= 5.0.3) activesupport (= 5.0.3) rack (~> 2.0) rack-test (~> 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.2) actionview (5.0.3) activesupport (= 5.0.3) builder (~> 3.1) erubis (~> 2.7.0) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.3) activejob (5.0.3) activesupport (= 5.0.3) globalid (>= 0.3.6) activemerchant (1.66.0) activesupport (>= 3.2.14, < 6.x) builder (>= 2.1.2, < 4.0.0) i18n (>= 0.6.9) nokogiri (~> 1.4) activemodel (5.0.3) activesupport (= 5.0.3) activerecord (5.0.3) activemodel (= 5.0.3) activesupport (= 5.0.3) arel (~> 7.0) activesupport (5.0.3) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (~> 0.7) minitest (~> 5.1) tzinfo (~> 1.1) acts-as-taggable-on (4.0.0) activerecord (>= 4.0) acts_as_list (0.9.5) activerecord (>= 3.0) adamantium (0.2.0) ice_nine (~> 0.11.0) memoizable (~> 0.4.0) addressable (2.5.1) public_suffix (~> 2.0, >= 2.0.2) anima (0.3.0) abstract_type (~> 0.0.7) adamantium (~> 0.2) equalizer (~> 0.0.11) arel (7.1.4) ast (2.3.0) awesome_nested_set (3.1.3) activerecord (>= 4.0.0, < 5.2) builder (3.2.3) byebug (9.0.6) camertron-eprun (1.1.1) cancancan (1.10.1) capybara (2.14.1) addressable mime-types (>= 1.16) nokogiri (>= 1.3.3) rack (>= 1.0.0) rack-test (>= 0.5.4) xpath (~> 2.0) capybara-screenshot (1.0.14) capybara (>= 1.0, < 3) launchy carmen (1.0.2) activesupport (>= 3.0.0) cldr-plurals-runtime-rb (1.0.1) climate_control (0.2.0) cliver (0.3.2) cocaine (0.5.8) climate_control (>= 0.0.3, < 1.0) coderay (1.1.1) coffee-rails (4.2.2) coffee-script (>= 2.2.0) railties (>= 4.0.0) coffee-script (2.4.1) coffee-script-source execjs coffee-script-source (1.12.2) concord (0.1.5) adamantium (~> 0.2.0) equalizer (~> 0.0.9) concurrent-ruby (1.0.5) crack (0.4.3) safe_yaml (~> 1.0.0) css_parser (1.5.0) addressable database_cleaner (1.6.1) deface (1.2.0) nokogiri (~> 1.6) polyglot rails (>= 4.1) rainbow (>= 2.1.0) diff-lcs (1.2.5) docile (1.1.5) email_spec (2.1.1) htmlentities (~> 4.3.3) launchy (~> 2.1) mail (~> 2.6) equalizer (0.0.11) erubis (2.7.0) execjs (2.7.0) factory_girl (4.8.0) activesupport (>= 3.0.0) factory_girl_rails (4.8.0) factory_girl (~> 4.8.0) railties (>= 3.0.0) ffaker (2.2.0) font-awesome-rails (4.7.0.2) railties (>= 3.2, < 5.2) friendly_id (5.1.0) activerecord (>= 4.0.0) globalid (0.4.0) activesupport (>= 4.2.0) hashdiff (0.3.4) highline (1.6.21) htmlentities (4.3.4) i18n (0.8.4) ice_nine (0.11.2) json (2.1.0) kaminari (0.17.0) actionpack (>= 3.0.0) activesupport (>= 3.0.0) launchy (2.4.3) addressable (~> 2.3) loofah (2.0.3) nokogiri (>= 1.5.9) mail (2.6.5) mime-types (>= 1.16, < 4) memoizable (0.4.2) thread_safe (~> 0.3, >= 0.3.1) method_source (0.8.2) mime-types (3.1) mime-types-data (~> 3.2015) mime-types-data (3.2016.0521) mimemagic (0.3.0) mini_portile2 (2.2.0) minitest (5.10.2) monetize (1.7.0) money (~> 6.9) money (6.9.0) i18n (>= 0.6.4, < 0.9) morpher (0.2.6) abstract_type (~> 0.0.7) adamantium (~> 0.2.0) anima (~> 0.3.0) ast (~> 2.2) concord (~> 0.1.5) equalizer (~> 0.0.9) ice_nine (~> 0.11.0) procto (~> 0.0.2) mutant (0.8.13) abstract_type (~> 0.0.7) adamantium (~> 0.2.0) anima (~> 0.3.0) ast (~> 2.2) concord (~> 0.1.5) diff-lcs (~> 1.2) equalizer (~> 0.0.9) ice_nine (~> 0.11.1) memoizable (~> 0.4.2) morpher (~> 0.2.6) parallel (~> 1.3) parser (~> 2.3.1, >= 2.3.1.4) procto (~> 0.0.2) regexp_parser (~> 0.4.1) unparser (~> 0.2.5) mutant-rspec (0.8.13) mutant (~> 0.8.13) rspec-core (>= 3.4.0, < 3.7.0) mysql2 (0.4.6) nio4r (2.1.0) nokogiri (1.8.0) mini_portile2 (~> 2.2.0) paperclip (4.3.7) activemodel (>= 3.2.0) activesupport (>= 3.2.0) cocaine (~> 0.5.5) mime-types mimemagic (= 0.3.0) parallel (1.11.2) paranoia (2.2.1) activerecord (>= 4.0, < 5.1) parser (2.3.3.1) ast (~> 2.2) pg (0.20.0) poltergeist (1.15.0) capybara (~> 2.1) cliver (~> 0.3.1) websocket-driver (>= 0.2.0) polyamorous (1.3.1) activerecord (>= 3.0) polyglot (0.3.5) powerpack (0.1.1) premailer (1.10.4) addressable css_parser (>= 1.4.10) htmlentities (>= 4.0.0) premailer-rails (1.9.6) actionmailer (>= 3, < 6) premailer (~> 1.7, >= 1.7.9) procto (0.0.3) pry (0.10.4) coderay (~> 1.1.0) method_source (~> 0.8.1) slop (~> 3.4) pry-byebug (3.4.2) byebug (~> 9.0) pry (~> 0.10) public_suffix (2.0.5) rack (2.0.3) rack-test (0.6.3) rack (>= 1.0) rails (5.0.3) actioncable (= 5.0.3) actionmailer (= 5.0.3) actionpack (= 5.0.3) actionview (= 5.0.3) activejob (= 5.0.3) activemodel (= 5.0.3) activerecord (= 5.0.3) activesupport (= 5.0.3) bundler (>= 1.3.0, < 2.0) railties (= 5.0.3) sprockets-rails (>= 2.0.0) rails-controller-testing (1.0.2) actionpack (~> 5.x, >= 5.0.1) actionview (~> 5.x, >= 5.0.1) activesupport (~> 5.x) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) rails-html-sanitizer (1.0.3) loofah (~> 2.0) railties (5.0.3) actionpack (= 5.0.3) activesupport (= 5.0.3) method_source rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) rainbow (2.2.2) rake rake (12.0.0) ransack (1.8.2) actionpack (>= 3.0) activerecord (>= 3.0) activesupport (>= 3.0) i18n polyamorous (~> 1.3) regexp_parser (0.4.3) responders (2.4.0) actionpack (>= 4.2.0, < 5.3) railties (>= 4.2.0, < 5.3) rspec-activemodel-mocks (1.0.3) activemodel (>= 3.0) activesupport (>= 3.0) rspec-mocks (>= 2.99, < 4.0) rspec-collection_matchers (1.1.3) rspec-expectations (>= 2.99.0.beta1) rspec-core (3.6.0) rspec-support (~> 3.6.0) rspec-expectations (3.6.0) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.6.0) rspec-its (1.2.0) rspec-core (>= 3.0.0) rspec-expectations (>= 3.0.0) rspec-mocks (3.6.0) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.6.0) rspec-rails (3.6.0) actionpack (>= 3.0) activesupport (>= 3.0) railties (>= 3.0) rspec-core (~> 3.6.0) rspec-expectations (~> 3.6.0) rspec-mocks (~> 3.6.0) rspec-support (~> 3.6.0) rspec-support (3.6.0) rspec_junit_formatter (0.2.3) builder (< 4) rspec-core (>= 2, < 4, != 2.12.0) rubocop (0.49.1) parallel (~> 1.10) parser (>= 2.3.3.1, < 3.0) powerpack (~> 0.1) rainbow (>= 1.99.1, < 3.0) ruby-progressbar (~> 1.7) unicode-display_width (~> 1.0, >= 1.0.1) ruby-progressbar (1.8.1) safe_yaml (1.0.4) sass (3.4.24) sass-rails (5.0.6) railties (>= 4.0.0, < 6) sass (~> 3.1) sprockets (>= 2.8, < 4.0) sprockets-rails (>= 2.0, < 4.0) tilt (>= 1.1, < 3) shoulda-callback-matchers (1.1.4) activesupport (>= 3) shoulda-matchers (3.1.1) activesupport (>= 4.0.0) simplecov (0.14.1) docile (~> 1.1.0) json (>= 1.8, < 3) simplecov-html (~> 0.10.0) simplecov-html (0.10.1) slop (3.6.0) sprockets (3.7.1) concurrent-ruby (~> 1.0) rack (> 1, < 3) sprockets-rails (3.2.0) actionpack (>= 4.0) activesupport (>= 4.0) sprockets (>= 3.0.0) sqlite3 (1.3.13) state_machines (0.4.0) state_machines-activemodel (0.4.1) activemodel (>= 4.1, < 5.2) state_machines (>= 0.4.0) state_machines-activerecord (0.4.1) activerecord (>= 4.1, < 5.2) state_machines-activemodel (>= 0.3.0) stringex (2.7.1) thor (0.19.4) thread_safe (0.3.6) tilt (2.0.7) timecop (0.8.1) twitter_cldr (3.6.0) camertron-eprun cldr-plurals-runtime-rb (~> 1.0) tzinfo tzinfo (1.2.3) thread_safe (~> 0.1) unicode-display_width (1.2.1) unparser (0.2.5) abstract_type (~> 0.0.7) adamantium (~> 0.2.0) concord (~> 0.1.5) diff-lcs (~> 1.2.5) equalizer (~> 0.0.9) parser (~> 2.3.0) procto (~> 0.0.2) webmock (2.3.2) addressable (>= 2.3.6) crack (>= 0.3.2) hashdiff websocket-driver (0.6.5) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.2) with_model (2.0.0) activerecord (>= 4.2) xpath (2.1.0) nokogiri (~> 1.3)

PLATFORMS ruby

DEPENDENCIES activerecord-jdbcsqlite3-adapter capybara (~> 2.4) capybara-screenshot (~> 1.0) coffee-rails database_cleaner (~> 1.3) email_spec factory_girl_rails (~> 4.7) jruby-openssl launchy mutant-rspec (~> 0.8) mysql2 pg poltergeist (~> 1.10) pry-byebug rails-controller-testing rspec-activemodel-mocks (~> 1.0) rspec-collection_matchers rspec-its rspec-rails (~> 3.4) rspec_junit_formatter rubocop sass-rails shoulda-callback-matchers (~> 1.1) shoulda-matchers (~> 3.1) simplecov spree_core! sqlite3 timecop tzinfo-data webmock (~> 2.1) with_model

BUNDLED WITH 1.15.1



<!--- Please remember to format code using triple backticks (`)
      so that it is neatly formatted when the issue is posted. -->

<!--- In 99% of cases, this information is enough to determine the cause and
      solution to the problem that is being described.

      Any issue that is open for 14 days without actionable information or
      activity will be marked as "stalled" and then closed. Stalled issues
      can be re-opened if the information requested is provided. -->
stujo commented 7 years ago

Working on a related project : https://github.com/stujo/clean-spree/pull/2/files

bbonislawski commented 6 years ago

Hello @stujo , I know it got a little bit old but do you have problem with current master branch?