spec/recipe/fakerecipe.rb in capistrano-spec-0.4.0 vs spec/recipe/fakerecipe.rb in capistrano-spec-0.5.0
- old
+ new
@@ -12,10 +12,11 @@
task :thing do
set :bar, "baz"
run('do some stuff')
upload("foo", "/tmp/foo")
get('/tmp/baz', 'baz')
+ put('fake content', '/tmp/put')
end
desc "More fake tasks!"
task :before_this_execute_thing do
#
end
@@ -35,6 +36,6 @@
end
end
if Capistrano::Configuration.instance
Capistrano::FakeRecipe.load_into(Capistrano::Configuration.instance)
- end
\ No newline at end of file
+ end