vinsol-spree-contrib / spree_marketing

Spree extension that allow a lot of reports synced with Mailchimp to help you in creating different subscribers list on Mailchimp. This extension provides reports like "Most Selling Products", "Abandoned Carts", "Most searched keywords", etc. to give better insights.
BSD 3-Clause "New" or "Revised" License
7 stars 18 forks source link

[WIP] Updated for Spree 3.2.0.rc2 and Rails 5 #82

Closed pikender closed 5 years ago

pikender commented 7 years ago

Fixed Deprecation Warning :: Passing a class as a value in an Active Record query is deprecated and will be removed. Pass a string instead. Refer https://github.com/rails/rails/pull/17916 Used Rspec stub_const to silence CONSTANT redefinition warnings Pending: Failing Specs for acts_as_multilist concern TRACE_START Spree::Marketing::List::MostZoneWiseOrders behaves like acts_as_multilist .generator if list doesn't exists should change result by 1 Failure/Error: it { expect { list_type.send :generator }.to change { list_type.all.count }.by 1 } expected result to have changed by 1, but was changed by 0 Shared Example Group: "acts_as_multilist" called from ./spec/models/spree/marketing/list/most_zone_wise_orders_list_spec.rb:12

./spec/shared/acts_as_multilist.rb:59:in `block (4 levels) in <top (required)>'

TRACE_END