Sha256: bb6765f67b5addc09d9e5395969e51a59f0035a698cdd8bb08dd3f45c8b77944

Contents?: true

Size: 304 Bytes

Versions: 6

Compression:

Stored size: 304 Bytes

Contents

require 'spec_helper'

describe Helena::Questions::ShortText do
  let(:version) { build :version, version: 0 }
  let(:question_group) { build(:question_group, version: version) }

  it 'has a valid factory' do
    expect(build(:short_text_question, question_group: question_group)).to be_valid
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
helena-2.1.0 spec/models/helena/questions/short_text_spec.rb
helena-2.0.2 spec/models/helena/questions/short_text_spec.rb
helena-2.0.1 spec/models/helena/questions/short_text_spec.rb
helena-2.0.0 spec/models/helena/questions/short_text_spec.rb
helena-1.3.1 spec/models/helena/questions/short_text_spec.rb
helena-1.3.0 spec/models/helena/questions/short_text_spec.rb