From d07f9bb0591b4863b971c43c513028c263a28a57 Mon Sep 17 00:00:00 2001 From: Philipp Fischbeck Date: Tue, 30 Dec 2014 17:34:14 +0100 Subject: [PATCH] Add missing attribute in test --- test/models/translation_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/models/translation_test.rb b/test/models/translation_test.rb index b2c3ebc..5549ff0 100644 --- a/test/models/translation_test.rb +++ b/test/models/translation_test.rb @@ -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