Sha256: 9e5db9e88650c7b85eb539fb9ac83373abe630a9ae8aca9e8a7720b465c5bf59
Contents?: true
Size: 445 Bytes
Versions: 17
Compression:
Stored size: 445 Bytes
Contents
RSpec.shared_examples 'a Hydra group_service interface' do before do raise 'adapter must be set with `let(:group_service)`' unless defined? group_service end subject { group_service } it { is_expected.to respond_to(:role_names).with(0).arguments } describe '#fetch_groups' do it 'requires a user: keyword arg' do expect(group_service.method(:fetch_groups).parameters).to eq([[:keyreq, :user]]) end end end
Version data entries
17 entries across 17 versions & 1 rubygems