Sha256: 2c32d88b7f193f35aa401b5c0b41a25a1b638c87beb85f44f0ec4631c9a6f894

Contents?: true

Size: 303 Bytes

Versions: 9

Compression:

Stored size: 303 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

9 entries across 9 versions & 1 rubygems

Version Path
helena-1.1.0 spec/models/helena/questions/short_text_spec.rb
helena-1.0.3 spec/models/helena/questions/short_text_spec.rb
helena-1.0.2 spec/models/helena/questions/short_text_spec.rb
helena-1.0.1 spec/models/helena/questions/short_text_spec.rb
helena-1.0.0.rc4 spec/models/helena/questions/short_text_spec.rb
helena-1.0.0.rc3 spec/models/helena/questions/short_text_spec.rb
helena-1.0.0.rc2 spec/models/helena/questions/short_text_spec.rb
helena-1.0.0.rc1 spec/models/helena/questions/short_text_spec.rb
helena-0.3.3 spec/models/helena/questions/short_text_spec.rb