1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-27 18:48:49 +01:00

Add presence of problem to translation

This commit is contained in:
2014-12-29 15:29:01 +01:00
parent bbe80b1409
commit fa86abc06d
5 changed files with 8 additions and 4 deletions

View File

@@ -22,7 +22,8 @@ class TranslationTest < ActiveSupport::TestCase
test "should save correct translation" do
translation = Translation.new(
title: 'A unique title',
content: 'Some content'
content: 'Some content',
problem: Problem.first
)
assert translation.save
end