Browse Source

feat: update tests

pull/1538/head
natdeanlewissoftwire 2 years ago
parent
commit
2635036b43
  1. 2
      spec/models/form/lettings/pages/min_rent_value_check_spec.rb

2
spec/models/form/lettings/pages/min_rent_value_check_spec.rb

@ -3,7 +3,7 @@ require "rails_helper"
RSpec.describe Form::Lettings::Pages::MinRentValueCheck, type: :model do RSpec.describe Form::Lettings::Pages::MinRentValueCheck, type: :model do
subject(:page) { described_class.new(page_id, page_definition, subsection) } subject(:page) { described_class.new(page_id, page_definition, subsection) }
let(:page_id) { "max_rent_value_check" } let(:page_id) { "min_rent_value_check" }
let(:page_definition) { nil } let(:page_definition) { nil }
let(:subsection) { instance_double(Form::Subsection) } let(:subsection) { instance_double(Form::Subsection) }

Loading…
Cancel
Save