summaryrefslogtreecommitdiff
path: root/tests/spec
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-19 23:11:28 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-19 23:11:28 -0500
commit8c959fe3209b6577fc80666bc8ea5d3e5e25c296 (patch)
treed5131cda9e9d26280ba95f1a6024bdf737d8ccba /tests/spec
parent4b305d8878a572e5aa01eb39553aae74b66ef947 (diff)
downloadhorizon-8c959fe3209b6577fc80666bc8ea5d3e5e25c296.tar.gz
horizon-8c959fe3209b6577fc80666bc8ea5d3e5e25c296.tar.bz2
horizon-8c959fe3209b6577fc80666bc8ea5d3e5e25c296.tar.xz
horizon-8c959fe3209b6577fc80666bc8ea5d3e5e25c296.zip
tests: Support Aruba 0.8.x
Diffstat (limited to 'tests/spec')
-rw-r--r--tests/spec/simulator.rb4
-rw-r--r--tests/spec/validator.rb4
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/spec/simulator.rb b/tests/spec/simulator.rb
index 013a3ec..2ad5dc3 100644
--- a/tests/spec/simulator.rb
+++ b/tests/spec/simulator.rb
@@ -10,6 +10,10 @@ def use_fixture(fixture)
copy '%/' + fixture, IFILE_PATH
end
+Aruba.configure do |config|
+ config.fixtures_directories = %w(fixtures)
+end
+
RSpec.describe 'HorizonScript Simulator', :type => :aruba do
context "argument passing" do
it "requires an installfile to be specified" do
diff --git a/tests/spec/validator.rb b/tests/spec/validator.rb
index 0a94dbf..d98ba8c 100644
--- a/tests/spec/validator.rb
+++ b/tests/spec/validator.rb
@@ -10,6 +10,10 @@ def use_fixture(fixture)
copy '%/' + fixture, IFILE_PATH
end
+Aruba.configure do |config|
+ config.fixtures_directories = %w(fixtures)
+end
+
PARSER_SUCCESS = /parser: 0 error\(s\), 0 warning\(s\)/
VALIDATOR_SUCCESS = /validator: 0 failure\(s\)/