Add presence of problem to translation

This commit is contained in:
pfischbeck committed 2014-12-29 15:29:01 +01:00
1 parent bbe80b1409
commit fa86abc06d
5 files changed
+8 -4

No files matched your search

+2 -1
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