spec/support/integration.rb in engineyard-serverside-2.2.0.rc1 vs spec/support/integration.rb in engineyard-serverside-2.2.0.rc2
- old
+ new
@@ -31,17 +31,14 @@
# we're probably running this spec under bundler, but a real
# deploy does not
def bundle
my_env = ENV.to_hash
- result = super
+ super
+ ensure
ENV.replace(my_env)
- result
end
- def framework_env
- config.framework_env
- end
end
class EY::Serverside::Deploy
class << self
alias_method :realnew, :new