Browse Source

better test with multiple orgs

pull/627/head
JG 3 years ago
parent
commit
ae5194dc71
  1. 3
      spec/features/organisation_spec.rb

3
spec/features/organisation_spec.rb

@ -196,8 +196,9 @@ RSpec.describe "User Features" do
expect(page).to have_link("About this organisation")
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
FactoryBot.create_list(:organisation, 5)
click_link(text: "Invite user")
end

Loading…
Cancel
Save