From 64dce32cd85d3fe1a65490a107e97e4f68780b93 Mon Sep 17 00:00:00 2001 From: Mike Patrick Date: Tue, 29 Aug 2023 16:32:29 +0100 Subject: [PATCH] Make test name more accurate It should send the user the token, but that's not at all what's being tested here --- test/integration/inviting_users_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/inviting_users_test.rb b/test/integration/inviting_users_test.rb index 724542f6d..156dffea8 100644 --- a/test/integration/inviting_users_test.rb +++ b/test/integration/inviting_users_test.rb @@ -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)