features/step_definitions/version_steps.rb in methadone-0.5.1 vs features/step_definitions/version_steps.rb in methadone-1.0.0.rc1
- old
+ new
@@ -1,4 +1,4 @@
When /^I successfully run `([^`]*)` with "([^"]*)" in the library path$/ do |command,dir|
- ENV["RUBYOPT"] = "-I" + File.join(Dir.pwd,ARUBA_DIR,'tmp','newgem',dir)
+ ENV["RUBYOPT"] = (ENV["RUBYOPT"] || '') + " -I" + File.join(Dir.pwd,ARUBA_DIR,'tmp','newgem',dir)
step %(I successfully run `#{command}`)
end