1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2025-12-10 00:36:42 +01:00

Add missing attribute in test

This commit is contained in:
Philipp Fischbeck 2014-12-30 17:34:14 +01:00
parent b16a04973a
commit d07f9bb059

View File

@ -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