Sha256: 64a332fbfb5b9f1ec36af4fe0b5c8a4339901ca2a4faa0599f6880b9efad861e
Contents?: true
Size: 831 Bytes
Versions: 2
Compression:
Stored size: 831 Bytes
Contents
Feature: The #each_rake_task DSL method with an undefined argument In order to use the metadata of Rake tasks in my Capistrano recipes, As a developer using Cape, I want to use the Cape DSL. Scenario: do not enumerate any Rake tasks Given a full-featured Rakefile And a Capfile with: """ Cape do each_rake_task :this_does_not_exist do |t| $stdout.puts '', "Name: #{t[:name].inspect}" if t[:parameters] $stdout.puts "Parameters: #{t[:parameters].inspect}" end if t[:description] $stdout.puts "Description: #{t[:description].inspect}" end end end """ When I run `cap -T` Then the output should not contain: """ Name: "with_period" Description: "Ends with period." """
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cape-1.1.0 | features/dsl/each_rake_task/with_undefined_argument.feature |
cape-1.0.3 | features/dsl/each_rake_task/with_undefined_argument.feature |