summaryrefslogtreecommitdiff
path: root/tests/spec
diff options
context:
space:
mode:
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\)/