Sha256: 043f5c12796ca1577e5bdc382073408c4ab3e9f011a166fa3dedb0c4723d7362

Contents?: true

Size: 351 Bytes

Versions: 6

Compression:

Stored size: 351 Bytes

Contents

    factory :normal do
      after(:create) do |user|
        user.grant :normal
      end
    end

    factory :admin do
      after(:create) do |user|
        user.grant :normal
        user.grant :admin
      end
    end

    factory :system do
      after(:create) do |user|
        user.grant :normal
        user.grant :system
      end
    end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
crosstie-0.0.7 lib/crosstie/templates/authorization/users.rb
crosstie-0.0.6 lib/crosstie/templates/authorization/users.rb
crosstie-0.0.5 lib/crosstie/templates/authorization/users.rb
crosstie-0.0.4 lib/crosstie/templates/authorization/users.rb
crosstie-0.0.3 lib/crosstie/templates/authorization/users.rb
crosstie-0.0.2 lib/crosstie/templates/authorization/users.rb