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