spec/support/integration.rb in engineyard-serverside-1.5.28.pre.timestamps4 vs spec/support/integration.rb in engineyard-serverside-1.5.28.pre1
- old
+ new
@@ -1,12 +1,24 @@
class FullTestDeploy < EY::Serverside::Deploy
- attr_reader :commands
+ attr_reader :infos, :debugs, :commands
def initialize(*)
super
+ @infos = []
+ @debugs = []
@commands = []
@gemfile_contents = nil
@lockfile_contents = nil
+ end
+
+ # stfu
+ def info(msg)
+ @infos << msg
+ end
+
+ # no really, stfu
+ def debug(msg)
+ @debugs << msg
end
# passwordless sudo is neither guaranteed nor desired
def sudo(cmd)
run(cmd)