Skip to content

Commit

Permalink
Accounts for Koppie's config in spec/models/flipflop_spec.rb. (#6603)
Browse files Browse the repository at this point in the history
* Accounts for Koppie's config in spec/models/flipflop_spec.rb.

* Adds comment.
  • Loading branch information
bwatson78 authored Jan 11, 2024
1 parent 2e6aae2 commit 87e5515
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions spec/models/flipflop_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@
end
end

describe "batch_upload?" do
subject { described_class.batch_upload? }
# NOTE: This is set to true in Koppie's config.
unless Hyrax.config.disable_wings
describe "batch_upload?" do
subject { described_class.batch_upload? }

it "defaults to false" do
is_expected.to be false
it "defaults to false" do
is_expected.to be false
end
end
end

Expand Down

0 comments on commit 87e5515

Please sign in to comment.