diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 206eb13..51c8e53 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -92,10 +92,7 @@ RSpec.configure do |c| reset_validation_setup_for(PersonWithShim) end - RSpec.configure do |c| - c.filter_run_excluding :active_record => lambda {|version| - !(::ActiveRecord::VERSION::STRING.to_s =~ /^#{version.to_s}/) - } - end - + c.filter_run_excluding :active_record => lambda {|version| + !(::ActiveRecord::VERSION::STRING.to_s =~ /^#{version.to_s}/) + } end