Sha256: b6d823165b7f2f61161b2f1447faf2914041006ef7164a1533f2d7711929d8c2
Contents?: true
Size: 902 Bytes
Versions: 13
Compression:
Stored size: 902 Bytes
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 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
13 entries across 13 versions & 1 rubygems