Skip to content

Commit

Permalink
Fix token message test
Browse files Browse the repository at this point in the history
  • Loading branch information
vargasx committed Sep 5, 2016
1 parent 43de656 commit 92d7bc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/controllers/devise_authy_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
body = JSON.parse(response.body)

expect(body['sent']).to be_truthy
expect(body['message']).to eq("Token was sent.")
expect(body['message']).to eq("SMS token was sent")
end

it "Shoul not send sms if user couldn't be found" do
Expand Down
2 changes: 1 addition & 1 deletion spec/features/authy_authenticatable_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
it "Click link Request sms" do
fill_sign_in_form(@user.email, '12345678')
click_link 'Request SMS'
expect(page).to have_content("Token was sent")
expect(page).to have_content("token was sent")
end
end
end

0 comments on commit 92d7bc1

Please sign in to comment.