Sha256: 121e9bad032f5216e7125525a2109478d54586f69a441a210f839c3beaf335b4

Contents?: true

Size: 474 Bytes

Versions: 4

Compression:

Stored size: 474 Bytes

Contents

FactoryGirl.define do

  factory :xllabel, :class => Iqvoc::XLLabel.base_class do |l|
    l.origin 'Forest'
    l.language 'en'
    l.value 'Forest'
    l.published_at 3.days.ago
  end

  factory :xllabel_with_association, :parent => :xllabel do |l|
  end

  factory :user do |u|
    u.forename 'Test'
    u.surname 'User'
    u.email 'testuser@iqvoc.local'
    u.password 'omgomgomg'
    u.password_confirmation 'omgomgomg'
    u.role 'reader'
    u.active true
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iqvoc_skosxl-1.2.2 test/factories.rb
iqvoc_skosxl-1.2.1 test/factories.rb
iqvoc_skosxl-1.2.0 test/factories.rb
iqvoc_skosxl-1.1.4 test/factories.rb