features/step_definitions/steps.rb in rultor-0.3.1 vs features/step_definitions/steps.rb in rultor-0.3.2
- old
+ new
@@ -49,10 +49,10 @@
File.open(file, 'w') do |f|
f.write(text)
end
end
-When(/^I run bin\/rultor with "([^"]*)"$/) do |arg|
+When(%r{^I run bin\/rultor with "([^"]*)"$}) do |arg|
home = File.join(File.dirname(__FILE__), '../..')
@stdout = `ruby -I#{home}/lib #{home}/bin/rultor #{arg} 2>&1`
@exitstatus = $CHILD_STATUS.exitstatus
end