-
-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #360 from robbat2/aruba2
fix: upgrade to aruba-2/cucumber-8
- Loading branch information
Showing
11 changed files
with
117 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
Given(/^my EDITOR is set to "(.*?)"$/) do |editor_command| | ||
ENV['EDITOR'] = editor_command | ||
set_environment_variable 'EDITOR', editor_command | ||
end | ||
|
||
Given(/^my HOME is set to "(.*?)"$/) do |home_dir| | ||
ENV['SANDBOX_HOME'] = home_dir | ||
# HOME must be absolute | ||
set_environment_variable 'HOME', expand_path(home_dir) | ||
end | ||
|
||
Given(/^my EYAML_CONFIG is set to "(.*?)"$/) do |config_file| | ||
ENV['EYAML_CONFIG'] = config_file | ||
set_environment_variable 'EYAML_CONFIG', config_file | ||
end | ||
|
||
Given(/^my PATH contains "(.*?)"$/) do |path_value| | ||
return if ENV['PATH'].start_with? path_value | ||
|
||
abspath = expand_path(path_value) | ||
return if ENV['PATH'].start_with? abspath | ||
paths = [path_value] + ENV['PATH'].split(File::PATH_SEPARATOR) | ||
ENV['PATH'] = paths.join(File::PATH_SEPARATOR) | ||
prepend_environment_variable 'PATH', abspath + File::PATH_SEPARATOR | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Given(/^I set FACTER_(.*?) to "(.*?)"$/) do |facter, value| | ||
ENV["FACTER_#{facter}"] = value | ||
set_environment_variable "FACTER_#{facter}", value | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters