Sha256: 46c1e6ef0d8b1873df6160d27f238b6f3124525b73da8c8211a537d0f961e115
Contents?: true
Size: 866 Bytes
Versions: 3
Compression:
Stored size: 866 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 file named "Capfile" with: """ require 'cape' 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
3 entries across 3 versions & 1 rubygems