RSpec config cleanup

This commit is contained in:
Adam Meehan 2012-07-13 21:43:29 +10:00
parent 8898b8686c
commit 7bcdea1738

View File

@ -92,10 +92,7 @@ RSpec.configure do |c|
reset_validation_setup_for(PersonWithShim) reset_validation_setup_for(PersonWithShim)
end end
RSpec.configure do |c| c.filter_run_excluding :active_record => lambda {|version|
c.filter_run_excluding :active_record => lambda {|version| !(::ActiveRecord::VERSION::STRING.to_s =~ /^#{version.to_s}/)
!(::ActiveRecord::VERSION::STRING.to_s =~ /^#{version.to_s}/) }
}
end
end end