spec/spec_helper.rb in spree-faq-2.0.1 vs spec/spec_helper.rb in spree-faq-2.1.0
- old
+ new
@@ -20,15 +20,11 @@
require 'rspec/rails'
require 'shoulda-matchers'
require 'ffaker'
RSpec.configure do |config|
- config.mock_with :rspec do |mock|
- mock.syntax = [:should, :expect]
- end
-
+ config.mock_with :rspec
config.use_transactional_fixtures = false
- config.infer_spec_type_from_file_location!
- config.raise_errors_for_deprecations!
+ config.treat_symbols_as_metadata_keys_with_true_values = true
end
Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require f }