Sha256: d8a3760f3c3ef7a1467e1dcbc21986ed62035dba45b000de8a63170ca452b796
Contents?: true
Size: 898 Bytes
Versions: 3
Compression:
Stored size: 898 Bytes
Contents
Feature: The #mirror_rake_tasks DSL method 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 file named "Capfile" with: """ require 'cape' Cape do mirror_rake_tasks 'this_does_not_exist' end """ When I run `cap -T` Then the output should not contain "cap with_period" Scenario: do not mirror Rake task 'with_period' Given a full-featured Rakefile And a file named "Capfile" with: """ require 'cape' Cape do mirror_rake_tasks :this_does_not_exist end """ When I run `cap -e with_period` Then the output should contain exactly: """ The task `with_period' does not exist. """
Version data entries
3 entries across 3 versions & 1 rubygems