spec/support/integration.rb in engineyard-serverside-2.0.0.pre5 vs spec/support/integration.rb in engineyard-serverside-2.0.0.rc1
- old
+ new
@@ -31,11 +31,11 @@
# inside this test.
nil
end
def restart_command
- Escape.shell_command(["echo", super]) + "> #{c.release_path}/restart"
+ Escape.shell_command(["echo", super]) + "> #{config.paths.active_release}/restart"
end
# we're probably running this spec under bundler, but a real
# deploy does not
def bundle
@@ -49,17 +49,9 @@
result = super
end
ENV.replace(my_env)
result
- end
-
- def shared_path
- Pathname.new(config.shared_path)
- end
-
- def release_path
- Pathname.new(config.release_path)
end
def framework_env
config.framework_env
end