mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-11-23 19:33:46 +01:00
Rename translation fixtures, explicitly use problem ids
This commit is contained in:
1 parent
fa86abc06d
commit
d1470f391e
4 files changed
+12
-10
No files matched your search
@@ -2,11 +2,11 @@ require 'test_helper'
|
||||
|
||||
class TranslationsControllerTest < ActionController::TestCase
|
||||
setup do
|
||||
@translation = translations(:one)
|
||||
@translation = translations(:translation_one)
|
||||
@update = {
|
||||
title: 'New title',
|
||||
content: 'This is the new content',
|
||||
problem_id: Problem.first
|
||||
problem_id: 1
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user