```ruby
require 'aruba'
require 'aruba/cucumber'
require 'aruba/in_process'

require 'rspec'
require 'chefspec'

require_relative 'executor'
Aruba::InProcess.main_class = ChefSpec::Executor
Aruba.process = Aruba::InProcess

Before do
  FileUtils.mkdir_p(current_dir)
  FileUtils.cp_r('examples', current_dir)

  # Need to reload this on each run because RSpec.reset (called by the
  # RSpec::Runner) removes our configurations :(
  load 'lib/chefspec/rspec.rb'
end
```

Use a temporary directory for cucumber tests to silence Travis
user
```ruby
require 'aruba'
require 'aruba/cucumber'
require 'aruba/in_process'

require 'rspec'
require 'chefspec'

require_relative 'executor'
Aruba::InProcess.main_class = ChefSpec::Executor
Aruba.process = Aruba::InProcess

Before do
  FileUtils.mkdir_p(current_dir)
  FileUtils.cp_r('examples', current_dir)

  # Need to reload this on each run because RSpec.reset (called by the
  # RSpec::Runner) removes our configurations :(
  load 'lib/chefspec/rspec.rb'

  # Use a temporary directory to suppress Travis warnings
  @dirs = [Dir.mktmpdir]
end

After do
  # Cleanup the test files
  FileUtils.rm_rf(@dirs.first)
end
```
assistant