Sha256: 5930c43f4937170b5ef8ed4213402a6db009f3dc87af8b12b86dbf1f3f57bc62
Contents?: true
Size: 1.31 KB
Versions: 1
Compression:
Stored size: 1.31 KB
Contents
Feature: Adhearsion App Generator In order to do development on new Adhearsion apps As a Adhearsiohn developer I want to generate an Adhearsion app Scenario: Generate application with valid layout When I run `ahn create path/somewhere` And I cd to "path/somewhere" Then the following directories should exist: | lib | | config | | script | And the following files should exist: | config/adhearsion.rb | | config/environment.rb | | Gemfile | | lib/simon_game.rb | | script/ahn | | README.md | | Rakefile | And the file "config/adhearsion.rb" should contain each of these content parts: """ Adhearsion.router Adhearsion.config logging.level config.punchblock """ And the file "README.md" should contain each of these content parts: """ Start your new app with AGI(agi """ And the file "Rakefile" should contain "adhearsion/tasks" And the file "Gemfile" should contain each of these content parts: """ source :rubygems gem 'adhearsion-asterisk' """ And the file "lib/simon_game.rb" should contain "class SimonGame" And the file "script/ahn" should contain "require 'adhearsion'"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
adhearsion-2.0.0.alpha1 | features/app_generator.feature |