Skip to content

Commit

Permalink
Appeasing Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyf committed Aug 23, 2017
1 parent 3210ca0 commit ce3ce8d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec/hydra/pcdm/models/collection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,8 @@ class Foo < ActiveFedora::Base
object
end

let(:collection1) { Hydra::PCDM::Collection.create }
let(:collection2) { Hydra::PCDM::Collection.create }
let(:collection1) { described_class.create }
let(:collection2) { described_class.create }

describe '#member_of_collections' do
it 'contains collections the object is a member of' do
Expand All @@ -635,5 +635,4 @@ class Foo < ActiveFedora::Base
end
end
end

end

0 comments on commit ce3ce8d

Please sign in to comment.