mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 08:46:41 +01:00
Add missing attribute in test
This commit is contained in:
parent
b16a04973a
commit
d07f9bb059
@ -14,7 +14,8 @@ class TranslationTest < ActiveSupport::TestCase
|
||||
test "should not save translation with duplicate title" do
|
||||
translation = Translation.new(
|
||||
title: translations(:translation_one).title,
|
||||
content: 'This is some content'
|
||||
content: 'This is some content',
|
||||
problem_id: 3
|
||||
)
|
||||
assert_not translation.save
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user