6 changed files with 8 additions and 8 deletions
@ -1,4 +1,4 @@ |
|||||||
class Form::Common::Questions::CreatedById < ::Form::Question |
class Form::Sales::Questions::CreatedById < ::Form::Question |
||||||
ANSWER_OPTS = { "" => "Select an option" }.freeze |
ANSWER_OPTS = { "" => "Select an option" }.freeze |
||||||
|
|
||||||
def initialize(id, hsh, page) |
def initialize(id, hsh, page) |
||||||
@ -1,6 +1,6 @@ |
|||||||
require "rails_helper" |
require "rails_helper" |
||||||
|
|
||||||
RSpec.describe Form::Common::Pages::CreatedBy, type: :model do |
RSpec.describe Form::Sales::Pages::CreatedBy, type: :model do |
||||||
subject(:page) { described_class.new(page_id, page_definition, subsection) } |
subject(:page) { described_class.new(page_id, page_definition, subsection) } |
||||||
|
|
||||||
let(:page_id) { nil } |
let(:page_id) { nil } |
||||||
Loading…
Reference in new issue