summaryrefslogtreecommitdiff
path: root/tests/spec/simulator.rb
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-19 23:19:54 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-19 23:19:54 -0500
commit08c14a952d9e7726854b380001b1d157b4528a3d (patch)
tree7a67371141f65c5b44f78d747afd51ff9022d879 /tests/spec/simulator.rb
parentea88ec90b3259844acb270fdbd6dc0920650647e (diff)
downloadhorizon-08c14a952d9e7726854b380001b1d157b4528a3d.tar.gz
horizon-08c14a952d9e7726854b380001b1d157b4528a3d.tar.bz2
horizon-08c14a952d9e7726854b380001b1d157b4528a3d.tar.xz
horizon-08c14a952d9e7726854b380001b1d157b4528a3d.zip
tests: Support all known versions of Aruba, 0.8.0+
Diffstat (limited to 'tests/spec/simulator.rb')
-rw-r--r--tests/spec/simulator.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/spec/simulator.rb b/tests/spec/simulator.rb
index 2ad5dc3..2fc3273 100644
--- a/tests/spec/simulator.rb
+++ b/tests/spec/simulator.rb
@@ -11,7 +11,10 @@ def use_fixture(fixture)
end
Aruba.configure do |config|
- config.fixtures_directories = %w(fixtures)
+ config.fixtures_directory = "fixtures" if respond_to? :fixtures_directory=
+ config.fixtures_directories = %w(fixtures) if respond_to? :fixtures_directories=
+ config.keep_ansi = true if respond_to? :keep_ansi=
+ config.remove_ansi_escape_sequences = false if respond_to? :remove_ansi_escape_sequences=
end
RSpec.describe 'HorizonScript Simulator', :type => :aruba do