diff options
Diffstat (limited to 'tests/spec/spec_helper.rb')
-rw-r--r-- | tests/spec/spec_helper.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/spec/spec_helper.rb b/tests/spec/spec_helper.rb index 886ed85..bc2a7b3 100644 --- a/tests/spec/spec_helper.rb +++ b/tests/spec/spec_helper.rb @@ -1,3 +1,5 @@ +require 'aruba/rspec' + # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration RSpec.configure do |config| config.expect_with :rspec do |expectations| @@ -50,3 +52,14 @@ RSpec.configure do |config| # as the one that triggered the failure. Kernel.srand config.seed end + +Aruba.configure do |config| + config.fixtures_directories = %w(fixtures) + config.remove_ansi_escape_sequences = false if respond_to? :remove_ansi_escape_sequences= +end + +IFILE_PATH = 'installfile' + +def use_fixture(fixture) + copy '%/' + fixture, IFILE_PATH +end |