Skip to content

Commit

Permalink
:clean_repo for flaky specs
Browse files Browse the repository at this point in the history
  • Loading branch information
dlpierce committed Dec 11, 2024
1 parent 1d72867 commit f127690
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/abilities/ability_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
end
end

describe "can?(:review, :submissions)" do
describe "can?(:review, :submissions)", :clean_repo do
subject { ability.can?(:review, :submissions) }

let(:role) { Sipity::Role.create(name: role_name) }
Expand Down
2 changes: 1 addition & 1 deletion spec/features/default_workflow_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
state: Hyrax::ResourceStatus::INACTIVE)
end

describe 'initializing the workflow' do
describe 'initializing the workflow', :clean_repo do
let(:attributes) { :LEGACY_UNUSED_ARGUMENT_WITH_NO_KNOWN_USE_CASE_SHOULD_NEVER_BE_REQUIRED }
let(:workflow_factory) { Hyrax::Workflow::WorkflowFactory }

Expand Down

0 comments on commit f127690

Please sign in to comment.