Browse Source

CLDC-4241: lint

CLDC-4174-clone-q88-service-charges
Nat Dean-Lewis 2 days ago
parent
commit
562841eaf0
  1. 4
      spec/models/form/sales/pages/service_charge_staircasing_spec.rb

4
spec/models/form/sales/pages/service_charge_staircasing_spec.rb

@ -12,11 +12,11 @@ RSpec.describe Form::Sales::Pages::ServiceChargeStaircasing, type: :model do
end end
it "has correct questions" do it "has correct questions" do
expect(page.questions.map(&:id)).to be(%w[has_mscharge mscharge]) expect(page.questions.map(&:id)).to eq(%w[has_mscharge mscharge])
end end
it "has the correct id" do it "has the correct id" do
expect(page.id).to eq(nil) expect(page.id).to be_nil
end end
it "has the correct description" do it "has the correct description" do

Loading…
Cancel
Save