diff --git a/app/models/form/page.rb b/app/models/form/page.rb index 9af24da23..bc9edefe0 100644 --- a/app/models/form/page.rb +++ b/app/models/form/page.rb @@ -1,5 +1,5 @@ class Form::Page - attr_accessor :id, :header, :header_partial, :description, :questions, :depends_on, :title_text, + attr_accessor :id, :header_partial, :description, :questions, :depends_on, :title_text, :informative_text, :subsection, :hide_subsection_label, :next_unresolved_page_id, :skip_text, :interruption_screen_question_ids, :submit_text diff --git a/app/models/form/question.rb b/app/models/form/question.rb index 9d019db1d..57ed70e66 100644 --- a/app/models/form/question.rb +++ b/app/models/form/question.rb @@ -1,7 +1,7 @@ class Form::Question - attr_accessor :id, :header, :hint_text, :description, :questions, :disable_clearing_if_not_routed_or_dynamic_answer_options, + attr_accessor :id, :description, :questions, :disable_clearing_if_not_routed_or_dynamic_answer_options, :type, :min, :max, :step, :width, :fields_to_add, :result_field, - :conditional_for, :readonly, :answer_options, :page, :check_answer_label, + :conditional_for, :readonly, :answer_options, :page, :inferred_answers, :hidden_in_check_answers, :inferred_check_answers_value, :top_guidance_partial, :bottom_guidance_partial, :prefix, :suffix, :requires_js, :fields_added, :derived, :check_answers_card_number, diff --git a/spec/models/form/sales/questions/buyer_company_spec.rb b/spec/models/form/sales/questions/buyer_company_spec.rb index 76db2952f..5bf652db4 100644 --- a/spec/models/form/sales/questions/buyer_company_spec.rb +++ b/spec/models/form/sales/questions/buyer_company_spec.rb @@ -27,10 +27,6 @@ RSpec.describe Form::Sales::Questions::BuyerCompany, type: :model do expect(question.derived?(nil)).to be false end - it "has the correct hint_text" do - expect(question.hint_text).to be_nil - end - it "has the correct answer_options" do expect(question.answer_options).to eq({ "1" => { "value" => "Yes" },