From c7a6660d15d256ac9e3465577df43c54c4907e8c Mon Sep 17 00:00:00 2001 From: JG Date: Wed, 8 Jun 2022 15:15:59 +0100 Subject: [PATCH] swapped managing agent to org for scheme --- spec/factories/scheme.rb | 2 +- spec/features/schemes_spec.rb | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/spec/factories/scheme.rb b/spec/factories/scheme.rb index 13ea18ce3..926642f57 100644 --- a/spec/factories/scheme.rb +++ b/spec/factories/scheme.rb @@ -2,7 +2,7 @@ FactoryBot.define do factory :scheme do code { Faker::Name.initials(number: 4) } service { Faker::Name.name_with_middle } - managing_agent { Faker::Company.name } + organisation created_at { Time.zone.now } end end diff --git a/spec/features/schemes_spec.rb b/spec/features/schemes_spec.rb index d80f8588f..90d662b8c 100644 --- a/spec/features/schemes_spec.rb +++ b/spec/features/schemes_spec.rb @@ -15,9 +15,7 @@ RSpec.describe "Supported housing scheme Features" do it "displays the link to the supported housing" do expect(page).to have_link("Supported housing") - end - end end end