spec/lib/reporter_spec.rb in glyph-0.4.2 vs spec/lib/reporter_spec.rb in glyph-0.5.0
- old
+ new
@@ -82,9 +82,10 @@
out = stdout_for { rep.display }
out.should match "-- Total Snippets: 2"
end
it "should display stats for a single snippet" do
+ stats :snippets
stats :snippet, :test
out = stdout_for { rep.display }
out.should match "-- Total Used Instances: 2"
out.should match " - text/references.glyph \\(1\\)"
@r.detailed = false