mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 02:28:50 +01:00
Redirect to original problem after translation creation
This commit is contained in:
@@ -25,7 +25,7 @@ class TranslationsControllerTest < ActionController::TestCase
|
||||
post :create, problem_id: 1, translation: @update
|
||||
end
|
||||
|
||||
assert_redirected_to translation_path(assigns(:translation))
|
||||
assert_redirected_to problem_path(id: 1)
|
||||
end
|
||||
|
||||
test "should show translation" do
|
||||
|
||||
Reference in New Issue
Block a user