diff options
-rw-r--r-- | tests/spec/simulator.rb | 5 | ||||
-rw-r--r-- | tests/spec/validator.rb | 5 |
2 files changed, 8 insertions, 2 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 diff --git a/tests/spec/validator.rb b/tests/spec/validator.rb index d98ba8c..de43cbb 100644 --- a/tests/spec/validator.rb +++ b/tests/spec/validator.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 PARSER_SUCCESS = /parser: 0 error\(s\), 0 warning\(s\)/ |