Sha256: 5d5b6732ef0547256514ea87362ef8d4a9de07e2b7eef4ccb5c2aae1d1e1c32c
Contents?: true
Size: 396 Bytes
Versions: 4
Compression:
Stored size: 396 Bytes
Contents
require 'spec_helper' use_roles_strategy :many_roles class User < ActiveRecord::Base include Roles::ActiveRecord strategy :many_roles, :default valid_roles_are :admin, :guest, :user end def api_migrate migrate('many_roles') end def api_fixture load 'fixtures/many_roles_setup.rb' end def api_name :many_roles end load 'roles_active_record/strategy/api_examples.rb'
Version data entries
4 entries across 4 versions & 1 rubygems