Skip to content

Commit

Permalink
DOuble quotes to single, to satisfy Travis CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and jszwedko committed May 2, 2017
1 parent b745320 commit c0ec6a6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/integration/login_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ class LoginTest < ActionDispatch::IntegrationTest
@user = users(:erik)
end

test "login with remembering" do
post "/users/sign_in.json", user: {email: @user.email, password: 'correct', remember_me: 1}, format: :json
test 'login with remembering' do
post '/users/sign_in.json', user: {email: @user.email, password: 'correct', remember_me: 1}, format: :json
assert_not_empty cookies['remember_user_token']
end

test "login without remembering" do
post "/users/sign_in.json", user: {email: @user.email, password: 'correct', remember_me: 1}, format: :json
delete "/users/sign_out.json", format: :json
post "/users/sign_in.json", user: {email: @user.email, password: 'correct', remember_me: 0}, format: :json
test 'login without remembering' do
post '/users/sign_in.json', user: {email: @user.email, password: 'correct', remember_me: 1}, format: :json
delete '/users/sign_out.json', format: :json
post '/users/sign_in.json', user: {email: @user.email, password: 'correct', remember_me: 0}, format: :json
assert_empty cookies['remember_user_token']
end
end

0 comments on commit c0ec6a6

Please sign in to comment.