Sha256: 74cd90502d7178aa7023df453381a9bacf0c60f2fba8c4fea386866445b83c83

Contents?: true

Size: 825 Bytes

Versions: 2

Compression:

Stored size: 825 Bytes

Contents

Feature: basic Rake integration
  In order to promote predictable, reliable Continuous Integration
  RightDevelop should expose a "ci:" Rake namespace

  Background:
    Given a Ruby application
    And a Gemfile
    And a gem dependency on 'rake ~> 0.9'

  Scenario: list Rake tasks
    Given the Rakefile contains a RightDevelop::CI::RakeTask
    When I install the bundle
    And I rake '-T'
    And the output should contain 'ci:cucumber'
    And the output should contain 'ci:spec'

  Scenario: override namespace
    Given the Rakefile contains:
    """
    RightDevelop::CI::RakeTask.new do |task|
      task.ci_namespace = :funkalicious
    end
    """
    When I install the bundle
    And I rake '-T'
    Then the output should contain 'funkalicious:cucumber'
    Then the output should contain 'funkalicious:spec'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
right_develop-1.2.0 features/rake_integration.feature
right_develop-1.1.0 features/rake_integration.feature