Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Update resend invitation spec to navigate to the show page

Klaus Zanders35c1cf4b089f
diff --git a/spec/features/users/invitation_spec.rb b/spec/features/users/invitation_spec.rb
index 63b114fc5bf..ecb730198f7 100644
--- a/spec/features/users/invitation_spec.rb
+++ b/spec/features/users/invitation_spec.rb
@@ -37,7 +37,7 @@ RSpec.describe 'invitations', js: true, with_cuprite: true do
shared_examples 'resending invitations' do
it 'resends the invitation' do
- visit edit_user_path(user)
+ visit user_path(user)
click_on I18n.t(:label_send_invitation)
expect(page).to have_text 'An invitation has been sent to [email protected].'