Skip to content

Commit

Permalink
Merge pull request #64 from pirj/support-rspec-4
Browse files Browse the repository at this point in the history
Support RSpec 4
  • Loading branch information
alexrothenberg authored Feb 24, 2021
2 parents 585ca1d + c0ecdb0 commit 74146c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/ammeter/rspec/generator/example.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def c.escaped_path(*parts)
c.include Ammeter::RSpec::Rails::GeneratorExampleHelpers,
:type => :generator
c.include Ammeter::RSpec::Rails::GeneratorExampleGroup,
:type => :generator,
:type => :generator
c.include Ammeter::RSpec::Rails::GeneratorExampleGroup,
:file_path => lambda { |file_path, metadata|
metadata[:type].nil? && generator_path_regex =~ file_path
}
Expand Down
2 changes: 1 addition & 1 deletion lib/ammeter/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Ammeter
VERSION = "1.1.4"
VERSION = "1.1.5"
end

0 comments on commit 74146c4

Please sign in to comment.