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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user