Skip to content
Browse files

More testing.

  • Loading branch information...
1 parent 3e24fd7 commit 2c7e7fe551053fcddcc09443a3998dd1446a3b3f @treeder treeder committed Feb 8, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −1 test/my_model.rb
  2. +1 −0 test/test_validations.rb
View
2 test/my_model.rb
@@ -19,7 +19,7 @@ class MyModel < MyBaseModel
has_clobs :clob1, :clob2
- attr_accessor :attr_before_save, :attr_after_save, :attr_before_create, :attr_after_create,
+ attr_accessor :attr_before_save, :attr_after_save, :attr_before_create, :attr_after_create
#callbacks
before_create :set_nickname
View
1 test/test_validations.rb
@@ -33,6 +33,7 @@ def test_validations
assert mm.valid?
assert mm.save, mm.errors.inspect
+ p mm
assert mm.attr_after_save
assert mm.attr_after_create

0 comments on commit 2c7e7fe

Please sign in to comment.
Something went wrong with that request. Please try again.