diff options
Diffstat (limited to 'test/unit/document_test.rb')
-rw-r--r-- | test/unit/document_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/document_test.rb b/test/unit/document_test.rb index 7a7cff79c..5a2651a49 100644 --- a/test/unit/document_test.rb +++ b/test/unit/document_test.rb @@ -53,7 +53,7 @@ class DocumentTest < ActiveSupport::TestCase def test_create_with_default_category # Sets a default category e = Enumeration.find_by_name('Technical documentation') - e.update_attributes(:is_default => true) + e.update(:is_default => true) doc = Document.new(:project => Project.find(1), :title => 'New document') assert_equal e, doc.category |