Sha256: 8e8293d2a984719bc618bcc0a2e82a12ca042beef35c2d0ea6adcb407acbfc76
Contents?: true
Size: 281 Bytes
Versions: 1
Compression:
Stored size: 281 Bytes
Contents
require 'spec_helper' module Cavy describe Permissions::DesignerPermission do subject { Permissions.permission_for(build(:cavy_user, role: 'designer')) } it 'allows anything' do expect allow(:any, :thing) expect allow_param(:any, :thing) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cavy-0.1.0.beta1 | spec/models/cavy/permissions/designer_permission_spec.rb |