Add missing attribute in test

This commit is contained in:
pfischbeck committed 2014-12-30 17:34:14 +01:00
1 parent b16a04973a
commit d07f9bb059
1 file changed
+2 -1
+2 -1
View File
@@ -14,7 +14,8 @@ class TranslationTest < ActiveSupport::TestCase
test "should not save translation with duplicate title" do test "should not save translation with duplicate title" do
translation = Translation.new( translation = Translation.new(
title: translations(:translation_one).title, title: translations(:translation_one).title,
content: 'This is some content' content: 'This is some content',
problem_id: 3
) )
assert_not translation.save assert_not translation.save
end end