Skip to content

Commit

Permalink
Avoid referencing error that was not defined in Rails 2.1 in test
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed May 24, 2009
1 parent 5e5a324 commit aa08f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/acts_as_audited_test.rb
Expand Up @@ -189,7 +189,7 @@ class AuditedTest < Test::Unit::TestCase

should "ignore attributes that have been deleted" do
@user.audits.last.update_attributes :changes => {:old_attribute => 'old value'}
lambda { @user.revisions }.should_not raise_error(ActiveRecord::UnknownAttributeError)
lambda { @user.revisions }.should_not raise_error
end

end
Expand Down

0 comments on commit aa08f06

Please sign in to comment.