Permalink
Browse files

More testing.

  • Loading branch information...
treeder committed Feb 8, 2011
1 parent 3e24fd7 commit 2c7e7fe551053fcddcc09443a3998dd1446a3b3f
Showing with 2 additions and 1 deletion.
  1. +1 −1 test/my_model.rb
  2. +1 −0 test/test_validations.rb
View
@@ -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
@@ -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.