Revert "Test token authentication; should allow it"
It shouldn't be allowed!
This reverts commit 46097ba8c8.
closes #7160
This commit is contained in:
parent
d421e42ddb
commit
9f38a424e7
1 changed files with 2 additions and 2 deletions
|
|
@ -242,11 +242,11 @@ describe UsersController, :type => :controller do
|
|||
expect(assigns[:email_prefs]['mentioned']).to be false
|
||||
end
|
||||
|
||||
it 'does allow token auth' do
|
||||
it "does not allow token auth" do
|
||||
sign_out :user
|
||||
bob.reset_authentication_token!
|
||||
get :edit, :auth_token => bob.authentication_token
|
||||
expect(response.status).to eq(200)
|
||||
expect(response).to redirect_to new_user_session_path
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue