Sha256: 727418c2c72fbad50a396753df86a0eb677836b72003ec77e8f6d7396c2d8bf3

Contents?: true

Size: 557 Bytes

Versions: 14

Compression:

Stored size: 557 Bytes

Contents

engineyard_loaded_path = $:.select { |path| path =~ %r|gems/engineyard-\d+| }.first
EY_ROOT = engineyard_loaded_path.gsub(%r|/\w+$|,'')

# helper to be stubbed out from engineyard spec_helper.rb
def shared_examples_for(title)
end

support = Dir[File.join(EY_ROOT,'/spec/support/*.rb')]
support.each{|helper| require helper }
World(Spec::Helpers)

require "fakeweb"

Before do
  ENV["NO_SSH"] = "true"
  ENV['CLOUD_URL'] = EY.fake_awsm
  FakeWeb.allow_net_connect = true
end

After do
  ENV.delete('CLOUD_URL')
  ENV.delete('EYRC')
  ENV.delete('NO_SSH')
end

Version data entries

14 entries across 14 versions & 4 rubygems

Version Path
engineyard-jenkins-0.5.1 features/support/engineyard.rb
engineyard-dns-1.0.0 features/support/engineyard.rb
engineyard-dns-0.5.0 features/support/engineyard.rb
engineyard-dns-0.4.0 features/support/engineyard.rb
engineyard-dnsimple-0.3.0 features/support/engineyard.rb
engineyard-dnsimple-0.2.0 features/support/engineyard.rb
engineyard-dnsimple-0.1.2 features/support/engineyard.rb
engineyard-dnsimple-0.1.1 features/support/engineyard.rb
engineyard-dnsimple-0.1.0 features/support/engineyard.rb
engineyard-jenkins-0.5.0 features/support/engineyard.rb
engineyard-jenkins-0.4.0 features/support/engineyard.rb
engineyard-hudson-0.3.2 features/support/engineyard.rb
engineyard-hudson-0.3.1 features/support/engineyard.rb
engineyard-hudson-0.3.0 features/support/engineyard.rb