Skip to content

Commit

Permalink
Merge pull request #130 from rubocop/fix-flaky-test
Browse files Browse the repository at this point in the history
Fix the flaky test for spec/rubocop/capybara/description_extractor_spec.rb
  • Loading branch information
ydah authored Aug 19, 2024
2 parents 36a9deb + b8ba5b6 commit f501b34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/rubocop/capybara/description_extractor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def stub_cop_const(name)
end

before do
YARD::Registry.clear
stub_cop_const('Foo')
stub_cop_const('Undocumented')
end
Expand Down

0 comments on commit f501b34

Please sign in to comment.