Sha256: f98f3bd824f733dccb39ba72e9b12970377758220037803dc8a104f86ced5caf
Contents?: true
Size: 286 Bytes
Versions: 6
Compression:
Stored size: 286 Bytes
Contents
require 'spec_helper' use_roles_strategy :role_string class User include Mongoid::Document include Roles::Mongoid strategy :role_string, :default valid_roles_are :admin, :guest, :user end def api_name :role_string end load 'roles_mongoid/strategy/api_examples.rb'
Version data entries
6 entries across 6 versions & 1 rubygems