Skip to content

Commit

Permalink
Make test name more accurate
Browse files Browse the repository at this point in the history
It should send the user the token, but that's not at all what's being
tested here
  • Loading branch information
mike29736 committed Aug 29, 2023
1 parent fe5cb8d commit 64dce32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/inviting_users_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class InvitingUsersTest < ActionDispatch::IntegrationTest
include ActiveJob::TestHelper

should "send the user an invitation token" do
should "ask the invited user to set a password" do
user = User.invite!(name: "Jim", email: "jim@web.com")
visit accept_user_invitation_path(invitation_token: user.raw_invitation_token)

Expand Down

0 comments on commit 64dce32

Please sign in to comment.