Skip to content

Commit

Permalink
Merge pull request #6456 from samvera/abel-fix_managed_works_service_…
Browse files Browse the repository at this point in the history
…spec

Fix managed_works_service_spec.rb
  • Loading branch information
dlpierce authored Nov 17, 2023
2 parents 4864384 + c7a7216 commit 87805da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/services/hyrax/works/managed_works_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
let(:scope) { FakeSearchBuilderScope.new(current_ability: current_ability) }

describe '.managed_works_count' do
let!(:work) { FactoryBot.create(:public_work) }
let!(:work) { valkyrie_create(:monograph, :public) }

it 'returns number of works that can be managed' do
expect(described_class.managed_works_count(scope: scope)).to eq(1)
Expand Down

0 comments on commit 87805da

Please sign in to comment.