Sha256: b68b530a7d727b8a5aa0fd62c258a1e0a6a555bc6fe4e96ba0a26ec166b699d4
Contents?: true
Size: 971 Bytes
Versions: 6
Compression:
Stored size: 971 Bytes
Contents
Feature: The #mirror_rake_tasks DSL method, inside a Capistrano namespace, with an undefined argument In order to include Rake tasks with descriptions in my Capistrano recipes, As a developer using Cape, I want to use the Cape DSL. Scenario: do not mirror any Rake tasks Given a full-featured Rakefile And a Capfile with: """ namespace :ns do Cape do |cape| cape.mirror_rake_tasks 'this_does_not_exist' end end """ When I run `cap -T` Then the output should not contain "cap ns:with_period" Scenario: do not mirror Rake task 'with_period' Given a full-featured Rakefile And a Capfile with: """ namespace :ns do Cape do |cape| cape.mirror_rake_tasks :this_does_not_exist end end """ When I run `cap -e ns:with_period` Then the output should contain exactly: """ The task `ns:with_period' does not exist. """
Version data entries
6 entries across 6 versions & 1 rubygems