spec/auth/affiliation_spec.rb in ddr-models-1.13.1 vs spec/auth/affiliation_spec.rb in ddr-models-1.13.2
- old
+ new
@@ -55,10 +55,10 @@
describe "instance methods" do
describe "#group" do
subject { described_class::Faculty }
it "should return the group for the affiliation" do
- expect(subject.group).to eq(Group.build("duke.faculty"))
+ expect(subject.group).to eq(Group.new("duke.faculty"))
end
end
end
end