|
|
@ -26,8 +26,8 @@ RSpec.describe Form::Sales::Questions::Buyer2WorkingSituation, type: :model do |
|
|
|
|
|
|
|
|
|
|
|
it "has the correct answer_options" do |
|
|
|
it "has the correct answer_options" do |
|
|
|
expect(question.answer_options).to eq({ |
|
|
|
expect(question.answer_options).to eq({ |
|
|
|
"1" => { "value" => "Full-time - 30 hours or more" }, |
|
|
|
"1" => { "value" => "Full-time – 30 hours or more per week" }, |
|
|
|
"2" => { "value" => "Part-time - Less than 30 hours" }, |
|
|
|
"2" => { "value" => "Part-time – Less than 30 hours per week" }, |
|
|
|
"3" => { "value" => "In government training into work" }, |
|
|
|
"3" => { "value" => "In government training into work" }, |
|
|
|
"4" => { "value" => "Jobseeker" }, |
|
|
|
"4" => { "value" => "Jobseeker" }, |
|
|
|
"6" => { "value" => "Not seeking work" }, |
|
|
|
"6" => { "value" => "Not seeking work" }, |
|
|
@ -42,8 +42,8 @@ RSpec.describe Form::Sales::Questions::Buyer2WorkingSituation, type: :model do |
|
|
|
|
|
|
|
|
|
|
|
it "has the correct displayed_answer_options" do |
|
|
|
it "has the correct displayed_answer_options" do |
|
|
|
expect(question.displayed_answer_options(nil)).to eq({ |
|
|
|
expect(question.displayed_answer_options(nil)).to eq({ |
|
|
|
"1" => { "value" => "Full-time - 30 hours or more" }, |
|
|
|
"1" => { "value" => "Full-time – 30 hours or more per week" }, |
|
|
|
"2" => { "value" => "Part-time - Less than 30 hours" }, |
|
|
|
"2" => { "value" => "Part-time – Less than 30 hours per week" }, |
|
|
|
"3" => { "value" => "In government training into work" }, |
|
|
|
"3" => { "value" => "In government training into work" }, |
|
|
|
"4" => { "value" => "Jobseeker" }, |
|
|
|
"4" => { "value" => "Jobseeker" }, |
|
|
|
"6" => { "value" => "Not seeking work" }, |
|
|
|
"6" => { "value" => "Not seeking work" }, |
|
|
|