mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-25 07:16:41 +00:00
reset employee class in specs
This commit is contained in:
@@ -61,5 +61,7 @@ Rspec.configure do |c|
|
||||
c.before do
|
||||
Person.reset_callbacks(:validate)
|
||||
Person._validators.clear
|
||||
Employee.reset_callbacks(:validate)
|
||||
Employee._validators.clear
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user