Skip to content

Commit 7cf3da1

Browse files
authored
Merge pull request #2469 from rspec/workaround-ammeter-multi-condition-filtering
Work around ammeter' incompatibility with RSpec 4
2 parents 324e98e + 0d92b82 commit 7cf3da1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/spec_helper.rb

+4
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,8 @@ def self.run_all(reporter = nil)
7474
example.run
7575
end
7676
end
77+
78+
# TODO: Remove once https://github.com/alexrothenberg/ammeter/pull/64 is merged
79+
# Work around ammeter's incompatibility with RSpec 4
80+
config.include Ammeter::RSpec::Rails::GeneratorExampleGroup, type: :generator
7781
end

0 commit comments

Comments
 (0)