spec/models/cavy/permissions/developer_permission_spec.rb in cavy-0.1.0.beta1 vs spec/models/cavy/permissions/developer_permission_spec.rb in cavy-0.1.0.beta2

- old
+ new

@@ -1,13 +1,12 @@ require 'spec_helper' module Cavy describe Permissions::DeveloperPermission do - subject { Permissions.permission_for(build(:cavy_user, role: 'developer')) } + subject(:permission) { Permissions.permission_for(build(:cavy_user, role: 'developer')) } it 'allows anything' do expect allow(:any, :thing) expect allow_param(:any, :thing) end - end end