Skip to content

Commit

Permalink
Merge pull request #5571 from samvera/fix_flaky_empty_admin_set_spec
Browse files Browse the repository at this point in the history
Fix flaky test caused by querying solr for admin set with a nil id
  • Loading branch information
dlpierce authored Mar 24, 2022
2 parents b9c8de8 + 49291a5 commit 739920c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/presenters/hyrax/admin_set_presenter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
describe "total_items" do
subject { presenter.total_items }

let(:admin_set) { build(:admin_set) }
let(:admin_set) { create(:admin_set) }

context "empty admin set" do
it { is_expected.to eq 0 }
Expand Down

0 comments on commit 739920c

Please sign in to comment.