Sha256: a0f2839f3f58e49f770da42e8b1da39b45e65def6b44ce5558609bdb6281f9b7
Contents?: true
Size: 382 Bytes
Versions: 11
Compression:
Stored size: 382 Bytes
Contents
require "spec_helper" describe Arrthorizer::Privilege do describe :initialize do let(:role) { SomeGroup } let(:roles) { [ role ] } let(:name) { "some name" } subject(:privilege) { Arrthorizer::Privilege.new(name: name, roles: roles) } it "makes itself accessible to each provided role" do expect(privilege).to be_accessible_to(role) end end end
Version data entries
11 entries across 11 versions & 1 rubygems