test/report_test.rb in riot-0.10.2 vs test/report_test.rb in riot-0.10.3
- old
+ new
@@ -39,9 +39,15 @@
end.equals(1)
asserts("description sent to #error") do
topic.report("break it down", [:error, "error time"])
end.equals("errored(break it down, error time)")
+
+ context "instance" do
+ setup { Riot::Reporter.new }
+
+ should("return self invoking new") { topic.new }.equals { topic }
+ end
end # A reporter
require 'stringio'
context "StoryReporter" do
setup {