examples/steps/backtick_steps.rb in turnip-3.0.0 vs examples/steps/backtick_steps.rb in turnip-3.1.0
- old
+ new
@@ -1,10 +1,10 @@
step "I run :cmd" do |cmd|
step('I attack it') if cmd == 'killall monsters'
end
placeholder :cmd do
- match /`([^`]*)`/ do |cmd|
+ match (/`([^`]*)`/) do |cmd|
cmd
end
end