Sha256: 5192525bb9e2e27f1531db55b4cc4bcc77a269dddb5badc366af5a65f236d493

Contents?: true

Size: 493 Bytes

Versions: 3

Compression:

Stored size: 493 Bytes

Contents

# USER
User.blueprint do
  email                   { Faker::Internet.email }  
  login                   { Faker::Name.name.gsub(/[^a-z0-9]+/i, '_') }  
  full_name               { Faker::Name.name }
  password                { 's3creT' }
  password_confirmation   { password }
  access_level            { User::ACCESS_LEVEL_DISABLED }
  time_zone               { "Eastern Time (US & Canada)" }
end

User.blueprint(:administrator) do
  access_level            { User::ACCESS_LEVEL_ADMIN }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rules_engine_users-0.0.3 rails_generators/templates/spec/support/rules_engine_users_blueprints.rb
rules_engine_users-0.0.2 rails_generators/templates/spec/support/rules_engine_users_blueprints.rb
rules_engine_users-0.0.1 rails_generators/templates/features/support/blueprint_users.rb