mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-23 06:16:44 +00:00
RSpec config cleanup
This commit is contained in:
parent
8898b8686c
commit
7bcdea1738
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user