spec/recipe/fakerecipe.rb in capistrano-spec-0.3.3 vs spec/recipe/fakerecipe.rb in capistrano-spec-0.4.0
- old
+ new
@@ -1,25 +1,33 @@
require 'capistrano'
module Capistrano
module Fakerecipe
def self.load_into(configuration)
configuration.load do
- before "fake:stuff_and_things", "fake:thing"
- after "fake:thing", "fake:other_thing"
+ before "fake:before_this_execute_thing", "fake:thing"
+ before "fake:before_this_also_execute_thing", "fake:thing"
+ after "fake:after_this_execute_thing", "fake:thing"
+ after "fake:after_this_also_execute_thing", "fake:thing"
namespace :fake do
desc "thing and run fake manifests"
task :thing do
set :bar, "baz"
run('do some stuff')
upload("foo", "/tmp/foo")
get('/tmp/baz', 'baz')
end
desc "More fake tasks!"
- task :other_thing do
+ task :before_this_execute_thing do
#
end
desc "You get the picture..."
- task :stuff_and_things do
+ task :before_this_also_execute_thing do
+ #
+ end
+ task :after_this_execute_thing do
+ #
+ end
+ task :after_this_also_execute_thing do
#
end
end
end
end
\ No newline at end of file