mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-11-23 19:33:46 +01:00
Add missing attribute in test
This commit is contained in:
1 parent
b16a04973a
commit
d07f9bb059
1 file changed
+2
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user