test/pelusa/reporters/ruby_reporter_test.rb in pelusa-0.2.2 vs test/pelusa/reporters/ruby_reporter_test.rb in pelusa-0.2.3
- old
+ new
@@ -8,11 +8,11 @@
"There are #{lines} lines."
end
okay = SuccessfulAnalysis.new("Is below 50 lines")
@reports = [
- Report.new("Foo", [ too_many_lines ]),
- Report.new("Bar", [ okay ])
+ Report.new("Foo", "class", [ too_many_lines ]),
+ Report.new("Bar", "module", [ okay ])
]
@reporter = RubyReporter.new('foo.rb')
@reporter.reports = @reports
end