Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

Commit

Permalink
fixed should_validate for 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Bass committed Mar 23, 2009
1 parent b05b378 commit 032c5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/test/spec/rails/should_validate.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Test::Spec::Rails::ShouldValidate
def validate
assert_valid @object
assert @object.valid?
end
alias :validated :validate
end
Expand Down

0 comments on commit 032c5c8

Please sign in to comment.