Skip to content

Commit

Permalink
Merge pull request #6626 from samvera/converts_test_in_sipity_spec
Browse files Browse the repository at this point in the history
Marks ActiveFedora test in `spec/models/sipity_spec.rb`.
  • Loading branch information
dlpierce authored Jan 23, 2024
2 parents 0ee0921 + 3e8e413 commit 8eaa103
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/models/sipity_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
it { expect(described_class.Entity(object)).to eq object }
end

context "with a Sipity::Entity that doesn't match the globalID for a valkyrie object" do
# NOTE: Since this is testing an ActiveFedora object parsed into a Valkyrie object, this has been marked as
# ActiveFedora-only.
context "with a Sipity::Entity that doesn't match the globalID for a valkyrie object", :active_fedora do
let(:object) { FactoryBot.create(:generic_work, id: '9999').valkyrie_resource }
let(:workflow_state) { create(:workflow_state) }
let!(:entity) do
Expand Down

0 comments on commit 8eaa103

Please sign in to comment.