Sha256: 2deedf33e0b9c3c42bf2f439c97354a399ae4a1ade6ec6b4baa6df5ed78cee39
Contents?: true
Size: 1.16 KB
Versions: 19
Compression:
Stored size: 1.16 KB
Contents
Given(/^a mocked home directory$/)do set_environment_variable 'HOME', expand_path('.') end Given(/^I set the environment variable "(.*)" to "(.*)"/) do |variable, value| set_environment_variable(variable.to_s, value.to_s) end Given(/^I append "(.*)" to the environment variable "(.*)"/) do |value, variable| append_environment_variable(variable.to_s, value.to_s) end Given(/^I prepend "(.*)" to the environment variable "(.*)"/) do |value, variable| prepend_environment_variable(variable.to_s, value.to_s) end Given(/^I set the environment variables? to:/) do |table| table.hashes.each do |row| variable = row['variable'].to_s value = row['value'].to_s set_environment_variable(variable, value) end end Given(/^I append the values? to the environment variables?:/) do |table| table.hashes.each do |row| variable = row['variable'].to_s value = row['value'].to_s append_environment_variable(variable, value) end end Given(/^I prepend the values? to the environment variables?:/) do |table| table.hashes.each do |row| variable = row['variable'].to_s value = row['value'].to_s prepend_environment_variable(variable, value) end end
Version data entries
19 entries across 19 versions & 3 rubygems