Sha256: 22c3474568dfe90421a9388969c92d3d72ce48490affa41e0c4eb65ebe48036a

Contents?: true

Size: 700 Bytes

Versions: 3

Compression:

Stored size: 700 Bytes

Contents

require 'stove'

require 'aruba'
require 'aruba/cucumber'
require 'aruba/in_process'

Aruba::InProcess.main_class = Stove::Cli
Aruba.process = Aruba::InProcess

require 'community_zero/rspec'
CommunityZero::RSpec.start
Before { CommunityZero::RSpec.reset! }

require File.expand_path('../stove/git', __FILE__)

World(Aruba::Api)
World(Stove::Git)

Before do
  Stove::Config.endpoint = CommunityZero::RSpec.url
  Stove::Config.username = 'stove'
  Stove::Config.key      = File.expand_path('../stove.pem', __FILE__)
end

Before do
  FileUtils.rm_rf(scratch_dir)
  FileUtils.mkdir_p(scratch_dir)
end

# The scratch directory
def scratch_dir
  @scratch_dir ||= File.expand_path('tmp/aruba/scratch')
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stove-3.2.2 features/support/env.rb
stove-3.2.1 features/support/env.rb
stove-3.0.0 features/support/env.rb