14 changed files with 19 additions and 19 deletions
@ -1,4 +1,4 @@
|
||||
class Form::Lettings::Questions::CreatedById < ::Form::Question |
||||
class Form::Common::Questions::CreatedById < ::Form::Question |
||||
def initialize(id, hsh, page) |
||||
super |
||||
@id = "created_by_id" |
@ -1,4 +1,4 @@
|
||||
class Form::Lettings::Questions::OwningOrganisationId < ::Form::Question |
||||
class Form::Common::Questions::OwningOrganisationId < ::Form::Question |
||||
def initialize(id, hsh, page) |
||||
super |
||||
@id = "owning_organisation_id" |
@ -1,6 +1,6 @@
|
||||
require "rails_helper" |
||||
|
||||
RSpec.describe Form::Lettings::Pages::CreatedBy, type: :model do |
||||
RSpec.describe Form::Common::Pages::CreatedBy, type: :model do |
||||
subject(:page) { described_class.new(page_id, page_definition, subsection) } |
||||
|
||||
let(:page_id) { nil } |
@ -1,6 +1,6 @@
|
||||
require "rails_helper" |
||||
|
||||
RSpec.describe Form::Lettings::Pages::Organisation, type: :model do |
||||
RSpec.describe Form::Common::Pages::Organisation, type: :model do |
||||
subject(:page) { described_class.new(page_id, page_definition, subsection) } |
||||
|
||||
let(:page_id) { nil } |
@ -1,6 +1,6 @@
|
||||
require "rails_helper" |
||||
|
||||
RSpec.describe Form::Lettings::Questions::CreatedById, type: :model do |
||||
RSpec.describe Form::Common::Questions::CreatedById, type: :model do |
||||
subject(:question) { described_class.new(question_id, question_definition, page) } |
||||
|
||||
let(:question_id) { nil } |
@ -1,6 +1,6 @@
|
||||
require "rails_helper" |
||||
|
||||
RSpec.describe Form::Lettings::Questions::OwningOrganisationId, type: :model do |
||||
RSpec.describe Form::Common::Questions::OwningOrganisationId, type: :model do |
||||
subject(:question) { described_class.new(question_id, question_definition, page) } |
||||
|
||||
let(:question_id) { nil } |
Loading…
Reference in new issue