diff --git a/spec/support/shared_contexts/aruba.rb b/spec/support/shared_contexts/aruba.rb index d7889547b..51f79dc9e 100644 --- a/spec/support/shared_contexts/aruba.rb +++ b/spec/support/shared_contexts/aruba.rb @@ -32,6 +32,7 @@ def set_tag(tag_name, value) @file_size = 256 @file_path = @aruba.expand_path(@file_name) @aruba.setup_aruba + raise "File #{@file_path} exists" if File.exist? @file_path if @aruba.aruba.current_directory[0] == "/" raise "We must work with relative paths, everything else is dangerous"