Sha256: cf405dc27dfbd601ada64591554492f57624d29c4722b7b11607f3d54268b0f3

Contents?: true

Size: 232 Bytes

Versions: 6

Compression:

Stored size: 232 Bytes

Contents

FactoryBot.define do
  factory :session, class: Helena::Session do
    sequence(:token) { |n| "token_#{n}" }
    survey
    version
  end

  factory :session_without_token, class: Helena::Session do
    survey
    version
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
helena-2.1.0 spec/factories/helena/sessions.rb
helena-2.0.2 spec/factories/helena/sessions.rb
helena-2.0.1 spec/factories/helena/sessions.rb
helena-2.0.0 spec/factories/helena/sessions.rb
helena-1.3.1 spec/factories/helena/sessions.rb
helena-1.3.0 spec/factories/helena/sessions.rb