test/context_test.rb in riot-0.9.8 vs test/context_test.rb in riot-0.9.9

- old
+ new

@@ -23,9 +23,13 @@ setup { @context.setup { "foo" } } asserts "topic becomes available to test as result of setup" do @context.should("bar") { topic }.actual end.equals("foo") + + asserts "calling topic in context will return assertion that returns topic as the actual" do + @context.topic.actual + end.equals("foo") end # when running setup end # any context # # Basic Context