|
|
@ -196,8 +196,9 @@ RSpec.describe "User Features" do |
|
|
|
expect(page).to have_link("About this organisation") |
|
|
|
expect(page).to have_link("About this organisation") |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
context "when I click on Invite user" do |
|
|
|
context "when I click on Invite user and there are multiple organisations in the database" do |
|
|
|
before do |
|
|
|
before do |
|
|
|
|
|
|
|
FactoryBot.create_list(:organisation, 5) |
|
|
|
click_link(text: "Invite user") |
|
|
|
click_link(text: "Invite user") |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|