spec/spec_helper.rb in kuhsaft-2.6.0 vs spec/spec_helper.rb in kuhsaft-2.6.1
- old
+ new
@@ -24,9 +24,10 @@
# Checks for pending migrations before tests are run.
# If you are not using ActiveRecord, you can remove this line.
ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)
RSpec.configure do |config|
+ config.infer_spec_type_from_file_location!
# Remove this line if you don't want RSpec's should and should_not
# methods or matchers
require 'rspec/expectations'
require 'carrierwave/test/matchers'