|
|
@ -97,8 +97,8 @@ RSpec.describe Form::Lettings::Pages::ManagingOrganisation, type: :model do |
|
|
|
) |
|
|
|
) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
it "is not shown" do |
|
|
|
it "is shown" do |
|
|
|
expect(page.routed_to?(log, user)).to eq(false) |
|
|
|
expect(page.routed_to?(log, user)).to eq(true) |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
@ -149,8 +149,8 @@ RSpec.describe Form::Lettings::Pages::ManagingOrganisation, type: :model do |
|
|
|
) |
|
|
|
) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
it "is not shown" do |
|
|
|
it "is shown" do |
|
|
|
expect(page.routed_to?(log, user)).to eq(false) |
|
|
|
expect(page.routed_to?(log, user)).to eq(true) |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|