Sha256: c97bd74a08c5a14372a97aa030f7f40ffe46caa07abea6045081e406f914a15f
Contents?: true
Size: 1.08 KB
Versions: 2
Compression:
Stored size: 1.08 KB
Contents
require 'aruba/api' require 'aruba/cucumber' require 'aruba/in_process' require 'rspec/expectations' require 'stove' require_relative '../../spec/support/community_site' require_relative '../../spec/support/git' World(Aruba::Api) World(Stove::RSpec::Git) Stove.set_formatter(:silent) Stove::Config.instance_variable_set(:@instance, { 'jira_username' => 'default', 'jira_password' => 'default', 'github_usernmae' => 'default', 'github_password' => 'default', 'opscode_username' => 'stove', 'opscode_pem_file' => File.expand_path(File.join(__FILE__, '..', 'stove.pem')), }) Stove::RSpec::CommunitySite.start(port: 3390) Stove::CommunitySite.base_uri(Stove::RSpec::CommunitySite.server_url) Stove::CommunitySite.http_uri(Stove::RSpec::CommunitySite.server_url) Before do @dirs = [Dir.mktmpdir] Stove::RSpec::CommunitySite.reset! end Before('~@spawn') do Aruba::InProcess.main_class = Stove::Cli Aruba.process = Aruba::InProcess end Before('@spawn') do Aruba.process = Aruba::SpawnProcess end # The path to Aruba's "stuff" def tmp_path File.expand_path(@dirs.first.to_s) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stove-1.1.2 | features/support/env.rb |
stove-1.1.0 | features/support/env.rb |