Sha256: 792a2192997aaeb8b10f3871bee4b25e2abfd49094d64286dea935f9556823c1

Contents?: true

Size: 865 Bytes

Versions: 4

Compression:

Stored size: 865 Bytes

Contents

Feature: Adhearsion Ahn CLI (Create)
  As an Adhearsion user
  I want the ahn command to allow creating an app
  So that I can write an Adhearsion app

  Scenario: Command create with correct arguments
    When I run `ahn create path/somewhere`
    And I cd to "path/somewhere"
    Then the following files should exist:
      | Gemfile               |
      | README.md             |
      | Rakefile              |
      | config/adhearsion.rb  |
      | config/environment.rb |
      | spec/spec_helper.rb   |
    And the file "config/adhearsion.rb" should contain "Adhearsion.router"
    Then the exit status should be 0

  Scenario: Running create with no arguments
    When I run `ahn create`
    Then the output should contain:
    """
    ahn create requires at least 1 argument: "ahn create /path/to/directory".
    """
    And the exit status should be 1

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
adhearsion-2.3.1 features/cli_create.feature
adhearsion-2.3.0 features/cli_create.feature
adhearsion-2.2.1 features/cli_create.feature
adhearsion-2.2.0 features/cli_create.feature