examples/rr/space_verify_example.rb in rr-0.1.7 vs examples/rr/space_verify_example.rb in rr-0.1.8

- old
+ new

@@ -137,9 +137,15 @@ second_scenario = @space.create_scenario(@double) @space.register_ordered_scenario(second_scenario) proc do @space.verify_ordered_scenario(second_scenario) - end.should raise_error(Errors::ScenarioOrderError) + end.should raise_error( + Errors::ScenarioOrderError, + "foobar()\n" << + "called out of order in list\n" << + "- foobar()\n" << + "- foobar()" + ) end end end \ No newline at end of file