Sha256: 2ef1d4030b9ee6d2622a6dedebdd4584518b1ae9917f63521a6f0348b980ae0e
Contents?: true
Size: 420 Bytes
Versions: 3
Compression:
Stored size: 420 Bytes
Contents
module Ddr module Auth RSpec.describe RemoteGroupService do subject { described_class.new(env) } describe "affiliation_groups" do let(:env) { {"affiliation" => "faculty@duke.edu;staff@duke.edu"} } it "should return the groups for the affiliations" do expect(subject.affiliation_groups).to match_array(["duke.faculty", "duke.staff"]) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ddr-models-1.11.8 | spec/services/remote_group_service_spec.rb |
ddr-models-1.12.3 | spec/services/remote_group_service_spec.rb |
ddr-models-1.11.7 | spec/services/remote_group_service_spec.rb |