reset employee class in specs

This commit is contained in:
Adam Meehan 2010-08-03 15:06:51 +10:00
parent 40e404681e
commit 7117a5ef22

View File

@ -61,5 +61,7 @@ Rspec.configure do |c|
c.before do c.before do
Person.reset_callbacks(:validate) Person.reset_callbacks(:validate)
Person._validators.clear Person._validators.clear
Employee.reset_callbacks(:validate)
Employee._validators.clear
end end
end end