summaryrefslogtreecommitdiffstats
path: root/features/support
diff options
context:
space:
mode:
Diffstat (limited to 'features/support')
-rw-r--r--features/support/config.rb6
-rw-r--r--features/support/env.rb2
-rw-r--r--features/support/helpers/sikuli_helper.rb2
3 files changed, 5 insertions, 5 deletions
diff --git a/features/support/config.rb b/features/support/config.rb
index b5f6fcd9..9e20b61d 100644
--- a/features/support/config.rb
+++ b/features/support/config.rb
@@ -1,12 +1,12 @@
require 'fileutils'
-require "#{Dir.pwd}/features/support/helpers/misc_helpers.rb"
+require "features/support/helpers/misc_helpers.rb"
# Dynamic
$tails_iso = ENV['ISO'] || get_newest_iso
$old_tails_iso = ENV['OLD_ISO'] || get_oldest_iso
$tmp_dir = ENV['TEMP_DIR'] || "/tmp/TailsToaster"
-$vm_xml_path = ENV['VM_XML_PATH'] || "#{Dir.pwd}/features/domains"
-$misc_files_dir = "#{Dir.pwd}/features/misc_files"
+$vm_xml_path = ENV['VM_XML_PATH'] || "features/domains"
+$misc_files_dir = "features/misc_files"
$keep_snapshots = !ENV['KEEP_SNAPSHOTS'].nil?
$x_display = ENV['DISPLAY']
$debug = !ENV['DEBUG'].nil?
diff --git a/features/support/env.rb b/features/support/env.rb
index 523a1d1c..3fa5c371 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -1,5 +1,5 @@
require 'rubygems'
-require "#{Dir.pwd}/features/support/extra_hooks.rb"
+require "features/support/extra_hooks.rb"
require 'time'
require 'rspec'
diff --git a/features/support/helpers/sikuli_helper.rb b/features/support/helpers/sikuli_helper.rb
index f6211be7..12f49603 100644
--- a/features/support/helpers/sikuli_helper.rb
+++ b/features/support/helpers/sikuli_helper.rb
@@ -124,7 +124,7 @@ def sikuli_script_proxy.new(*args)
end
# Configure sikuli
-java.lang.System.setProperty("SIKULI_IMAGE_PATH", "#{Dir.pwd}/features/images/")
+java.lang.System.setProperty("SIKULI_IMAGE_PATH", "features/images/")
# ruby and rjb doesn't play well together when it comes to static
# fields (and possibly methods) so we instantiate and access the field