From 7bcdea173812c0b53ec7d20d0680ccc88e899bfd Mon Sep 17 00:00:00 2001 From: Adam Meehan Date: Fri, 13 Jul 2012 21:43:29 +1000 Subject: [PATCH] RSpec config cleanup --- spec/spec_helper.rb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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