Skip to content

Commit

Permalink
Merge pull request #2469 from rspec/workaround-ammeter-multi-conditio…
Browse files Browse the repository at this point in the history
…n-filtering

Work around ammeter' incompatibility with RSpec 4
  • Loading branch information
pirj authored Feb 22, 2021
2 parents 324e98e + 0d92b82 commit 7cf3da1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,8 @@ def self.run_all(reporter = nil)
example.run
end
end

# TODO: Remove once https://github.com/alexrothenberg/ammeter/pull/64 is merged
# Work around ammeter's incompatibility with RSpec 4
config.include Ammeter::RSpec::Rails::GeneratorExampleGroup, type: :generator
end

0 comments on commit 7cf3da1

Please sign in to comment.