lib/cucumber/rb_support/rb_world.rb in cucumber-0.4.2 vs lib/cucumber/rb_support/rb_world.rb in cucumber-0.4.3
- old
+ new
@@ -62,9 +62,13 @@
# after it has run, so it can be coloured according to its status.
def announce(announcement)
@__cucumber_step_mother.announce(announcement)
end
+ def embed(file, mime_type)
+ @__cucumber_step_mother.embed(file, mime_type)
+ end
+
# Mark the matched step as pending.
def pending(message = "TODO")
if block_given?
begin
yield