Browse Source

remove unnecessary variable declaration in test file

pull/1343/head
Arthur Campbell 3 years ago
parent
commit
6bc6d18773
  1. 1
      spec/models/form/lettings/pages/property_wheelchair_accessible_spec.rb

1
spec/models/form/lettings/pages/property_wheelchair_accessible_spec.rb

@ -4,7 +4,6 @@ RSpec.describe Form::Lettings::Pages::PropertyWheelchairAccessible, type: :model
subject(:page) { described_class.new(nil, nil, subsection) } subject(:page) { described_class.new(nil, nil, subsection) }
let(:subsection) { instance_double(Form::Subsection) } let(:subsection) { instance_double(Form::Subsection) }
let(:form) { instance_double(Form) }
it "has correct subsection" do it "has correct subsection" do
expect(page.subsection).to eq(subsection) expect(page.subsection).to eq(subsection)

Loading…
Cancel
Save