spec/spec_helper.rb in spree_msrp-2.1.7 vs spec/spec_helper.rb in spree_msrp-2.2.4

- old
+ new

@@ -1,5 +1,7 @@ +require 'pry' + # Run Coverage report require 'simplecov' SimpleCov.start do add_filter 'spec/dummy' add_group 'Controllers', 'app/controllers' @@ -21,14 +23,15 @@ # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require f } -# Requires factories defined in spree_core -require 'spree/testing_support/factories' -require 'spree/testing_support/controller_requests' +# Requires factories and other useful helpers defined in spree_core. require 'spree/testing_support/authorization_helpers' +require 'spree/testing_support/capybara_ext' +require 'spree/testing_support/controller_requests' +require 'spree/testing_support/factories' require 'spree/testing_support/url_helpers' # Requires factories defined in lib/spree_msrp/factories.rb require 'spree_msrp/factories' @@ -77,6 +80,7 @@ config.after :each do DatabaseCleaner.clean end config.fail_fast = ENV['FAIL_FAST'] || false + config.order = "random" end