lib/ammeter/rspec/generator/example.rb in ammeter-1.1.4 vs lib/ammeter/rspec/generator/example.rb in ammeter-1.1.5

- old
+ new

@@ -10,10 +10,11 @@ generator_path_regex = c.escaped_path(%w[spec generators]) if RSpec::Core::Version::STRING >= '3' 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 } else #rspec2