Browse Source
* add type of building question to sales * update check answer label * fix tests * [CLDC-1467] Use correct page ID Co-authored-by: Jack S <jacopo.scotti@softwire.com>pull/939/head
Ted-U
2 years ago
committed by
GitHub
10 changed files with 31 additions and 13 deletions
@ -1,4 +1,4 @@
|
||||
class Form::Sales::Questions::BuildingType < ::Form::Question |
||||
class Form::Sales::Questions::PropertyBuildingType < ::Form::Question |
||||
def initialize(id, hsh, page) |
||||
super |
||||
@id = "builtype" |
@ -1,6 +1,6 @@
|
||||
require "rails_helper" |
||||
|
||||
RSpec.describe Form::Sales::Questions::BuildingType, type: :model do |
||||
RSpec.describe Form::Sales::Questions::PropertyBuildingType, type: :model do |
||||
subject(:question) { described_class.new(question_id, question_definition, page) } |
||||
|
||||
let(:question_id) { nil } |
Loading…
Reference in new issue