mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-22 22:06:45 +00:00
reset employee class in specs
This commit is contained in:
parent
40e404681e
commit
7117a5ef22
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user