Skip to content

Commit

Permalink
Marks test suite as ActiveFedora-only, since presenter calls to multi…
Browse files Browse the repository at this point in the history
…ple classes not Valkyrized. (#6484)

* Marks test suite as ActiveFedora-only, since presenter calls to multiple classes not Valkyrized.

* Makes rubocop happy.
  • Loading branch information
bwatson78 authored Dec 1, 2023
1 parent a21cfc7 commit 1a1b5af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/presenters/hyrax/file_usage_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true
RSpec.describe Hyrax::FileUsage, type: :model do
# NOTE: This presenter is currently utilizing multiple classes that are solely focused on ActiveFedora objects and classes.
# This class, as well as others involving Statistics and Analytics should be Valkyrized in the future.
RSpec.describe Hyrax::FileUsage, :active_fedora, type: :model do
let(:user) { build(:user) }
let(:file) do
create(:file_set, user: user)
Expand Down

0 comments on commit 1a1b5af

Please sign in to comment.