Sha256: 51065d44a58ee3f62b85881d1143b1f7ae25e320dad5a1d167082a38de383b0a

Contents?: true

Size: 586 Bytes

Versions: 14

Compression:

Stored size: 586 Bytes

Contents

Fabricator :user, class_name: 'Crowdblog::User' do
  email                 { sequence { |i| "user#{i}@crowdint.com" } }
  name                  { Faker::Name.name }
  is_publisher          false
end

Fabricator :user_test, from: :user do
  email                 'test@crowdint.com'
  name                  'Test User'
  is_publisher          false
  authentication_token  'user'
end

Fabricator :user_publisher, from: :user do
  email                 'publisher@crowdint.com'
  name                  'Publisher User'
  is_publisher          true
  authentication_token  'publisher'
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
crowdblog-0.0.16 spec/fabricators/users_fabricator.rb
crowdblog-0.0.15 spec/fabricators/users_fabricator.rb
crowdblog-0.0.14 spec/fabricators/users_fabricator.rb
crowdblog-0.0.13 spec/fabricators/users_fabricator.rb
crowdblog-0.0.12 spec/fabricators/users_fabricator.rb
crowdblog-0.0.10 spec/fabricators/users_fabricator.rb
crowdblog-0.0.9 spec/fabricators/users_fabricator.rb
crowdblog-0.0.8 spec/fabricators/users_fabricator.rb
crowdblog-0.0.7 spec/fabricators/users_fabricator.rb
crowdblog-0.0.6 spec/fabricators/users_fabricator.rb
crowdblog-0.0.5 spec/fabricators/users_fabricator.rb
crowdblog-0.0.4 spec/fabricators/users_fabricator.rb
crowdblog-0.0.3 spec/fabricators/users_fabricator.rb
crowdblog-0.0.2 spec/fabricators/users_fabricator.rb