diff options
Diffstat (limited to 'test/controllers/page_translations_controller_test.rb')
| -rw-r--r-- | test/controllers/page_translations_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/controllers/page_translations_controller_test.rb b/test/controllers/page_translations_controller_test.rb index 7484a203..31eefe84 100644 --- a/test/controllers/page_translations_controller_test.rb +++ b/test/controllers/page_translations_controller_test.rb | |||
| @@ -30,7 +30,7 @@ class PageTranslationsControllerTest < ActionController::TestCase | |||
| 30 | node = Node.root.children.create!(:slug => "translations_exit_test") | 30 | node = Node.root.children.create!(:slug => "translations_exit_test") |
| 31 | node.lock_for_editing!(users(:quentin)) | 31 | node.lock_for_editing!(users(:quentin)) |
| 32 | 32 | ||
| 33 | patch :update, params: { :node_id => node.id, :translation_locale => "en", :page => { :title => "x" }, :commit => "Save + Unlock + Exit" } | 33 | patch :update, params: { :node_id => node.id, :translation_locale => "en", :page => { :title => "x" }, :unlock_exit => "1" } |
| 34 | 34 | ||
| 35 | assert_nil node.reload.lock_owner | 35 | assert_nil node.reload.lock_owner |
| 36 | assert_redirected_to node_path(node) | 36 | assert_redirected_to node_path(node) |
