Skip to content

Commit

Permalink
Marks ActiveFedora tests in spec/models/sipity_spec.rb.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwatson78 committed Jan 23, 2024
1 parent 0ee0921 commit 3e8e413
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 3e8e413

Please sign in to comment.