Sha256: 4284fdc541f68fef0b2cabf4c4d4936374a1eaf0fbcee654d735adb66e0088fc

Contents?: true

Size: 950 Bytes

Versions: 3

Compression:

Stored size: 950 Bytes

Contents

Given 'a full-featured Rakefile' do
  step 'a file named "Rakefile" with:', <<-end_step
    desc 'Ends with period.'
    task :with_period

    desc 'Ends without period'
    task :without_period

    desc 'My long task -- it has a very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very long description'
    task :long

    desc 'My task with one argument'
    task :with_one_arg, [:the_arg]

    namespace :my_namespace do
      desc 'My task in a namespace'
      task :in_a_namespace

      namespace :my_nested_namespace do
        desc 'My task in a nested namespace'
        task :in_a_nested_namespace
      end
    end

    desc 'My task with two arguments'
    task :with_two_args, [:my_arg1, :my_arg2]

    desc 'My task with three arguments'
    task :with_three_args, [:an_arg1, :an_arg2, :an_arg3]

    task :hidden_task
  end_step
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cape-1.0.2 features/step_definitions.rb
cape-1.0.1 features/step_definitions.rb
cape-1.0.0 features/step_definitions.rb