mirror of
https://github.com/Fishwaldo/role_model.git
synced 2025-03-15 11:32:04 +00:00
Changes for PR
This commit is contained in:
parent
60bc927b42
commit
f7a2156847
1 changed files with 1 additions and 2 deletions
|
@ -6,12 +6,11 @@ describe RoleModel do
|
|||
let(:role_options) { {} }
|
||||
|
||||
before(:each) do
|
||||
options = role_options
|
||||
model_class.instance_eval do
|
||||
attr_accessor :roles_mask
|
||||
attr_accessor :custom_roles_mask
|
||||
include RoleModel
|
||||
roles :foo, :bar, :third, options
|
||||
roles :foo, :bar, :third, role_options
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue