|
|
|
|
@ -12,11 +12,11 @@ RSpec.describe Form::Sales::Pages::ServiceChargeStaircasing, type: :model do
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
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 |
|
|
|
|
|
|
|
|
|
it "has the correct id" do |
|
|
|
|
expect(page.id).to eq(nil) |
|
|
|
|
expect(page.id).to be_nil |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
it "has the correct description" do |
|
|
|
|
|