We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a1662f commit 90f9339Copy full SHA for 90f9339
1 file changed
test/controllers/sudo_controller_test.rb
@@ -23,8 +23,8 @@ class SudoControllerTest < ActionController::TestCase
23
end
24
25
test 'should enter sudo mode' do
26
- sign_in users(:standard_user)
27
set_password(users(:standard_user), 'test1234')
+ sign_in users(:standard_user)
28
session[:sudo_return] = users_me_path
29
post :enter_sudo, params: { password: 'test1234' }
30
assert_response(:found)
0 commit comments