Sha256: d38ab732cd43c3b3836510da4cd451bd9d3f18c5cceb4a0a6a106f173069a965

Contents?: true

Size: 188 Bytes

Versions: 7

Compression:

Stored size: 188 Bytes

Contents

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
helena-1.1.0 spec/factories/helena/sessions.rb
helena-1.0.3 spec/factories/helena/sessions.rb
helena-1.0.2 spec/factories/helena/sessions.rb
helena-1.0.1 spec/factories/helena/sessions.rb
helena-1.0.0.rc4 spec/factories/helena/sessions.rb
helena-1.0.0.rc3 spec/factories/helena/sessions.rb
helena-1.0.0.rc2 spec/factories/helena/sessions.rb