Skip to content

Commit 90f9339

Browse files
committed
Apparently the order matters
1 parent 2a1662f commit 90f9339

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/controllers/sudo_controller_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ class SudoControllerTest < ActionController::TestCase
2323
end
2424

2525
test 'should enter sudo mode' do
26-
sign_in users(:standard_user)
2726
set_password(users(:standard_user), 'test1234')
27+
sign_in users(:standard_user)
2828
session[:sudo_return] = users_me_path
2929
post :enter_sudo, params: { password: 'test1234' }
3030
assert_response(:found)

0 commit comments

Comments
 (0)