Browse Source

Test showing bulk upload link for support

pull/2629/head
Manny Dinssa 2 years ago
parent
commit
d1bed1fa14
  1. 8
      spec/features/organisation_spec.rb

8
spec/features/organisation_spec.rb

@ -139,6 +139,10 @@ RSpec.describe "User Features" do
expect(page).to have_button("Create a new lettings log for this organisation")
end
it "shows a upload lettings logs in bulk link" do
expect(page).to have_link("Upload lettings logs in bulk")
end
context "when creating a log for that organisation" do
it "pre-fills the value for owning organisation for that log" do
click_button("Create a new lettings log for this organisation")
@ -230,6 +234,10 @@ RSpec.describe "User Features" do
expect(page).to have_button("Create a new sales log for this organisation")
end
it "shows a upload lettings logs in bulk link" do
expect(page).to have_link("Upload sales logs in bulk")
end
context "when creating a log for that organisation" do
it "pre-fills the value for owning organisation for that log" do
click_button("Create a new sales log for this organisation")

Loading…
Cancel
Save