spec/permission/grant_spec.rb in arrthorizer-0.1.3 vs spec/permission/grant_spec.rb in arrthorizer-0.2.0

- old
+ new

@@ -3,10 +3,10 @@ describe Arrthorizer::Permission do describe :grant do let(:privilege) { Arrthorizer::Privilege.new(name: "privilege") } let(:role) { Arrthorizer::Group.new("role") } - it "adds the role to the privilege set" do + it "adds the role to the privilege" do Arrthorizer::Permission.grant(privilege, to: role) expect(privilege).to be_accessible_to(role) end end