spec/spec_helper.rb in sections_rails-0.8.1 vs spec/spec_helper.rb in sections_rails-0.9.0
- old
+ new
@@ -4,13 +4,13 @@
end
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../dummy/config/environment.rb", __FILE__)
require 'rspec/rails'
-require 'rspec/autorun'
require 'sections_rails'
RSpec.configure do |config|
config.infer_base_class_for_anonymous_controllers = false
config.mock_with :rspec
+ config.infer_spec_type_from_file_location!
end