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