lib/cuken/cucumber/common.rb in cuken-0.1.7 vs lib/cuken/cucumber/common.rb in cuken-0.1.8
- old
+ new
@@ -1,5 +1,17 @@
+Given /^Assumption: (.*)$/ do |msg|
+ announce_or_puts(msg)
+end
+
+Given /^Explanation: (.*)$/ do |msg|
+ announce_or_puts(msg)
+end
+
+Given /^Instruction: (.*)$/ do |msg|
+ announce_or_puts(msg)
+end
+
And /^wait "([^"]*)" seconds$/ do |delay|
::Kernel.sleep(delay.to_f)
end
Given /^the working directory is "([^"]*)"$/ do |path|
\ No newline at end of file