Browse Source

lint

pull/838/head
Ted-U 3 years ago
parent
commit
3f92529a40
  1. 4
      spec/features/organisation_spec.rb

4
spec/features/organisation_spec.rb

@ -59,11 +59,9 @@ RSpec.describe "User Features" do
it "shows schemes in the navigation bar" do it "shows schemes in the navigation bar" do
visit("/logs") visit("/logs")
expect(page).to have_link("Schemes", href: "/schemes") expect(page).to have_link("Schemes", href: "/schemes")
end end
end end
# test
context "when the user is support and the organisation does not hold housing stock" do context "when the user is support and the organisation does not hold housing stock" do
before do before do
organisation.update!(holds_own_stock: false) organisation.update!(holds_own_stock: false)

Loading…
Cancel
Save