Sha256: 80f434b3495ca58af6c2179ac038354a62c24ae718a1360275eee9e0c492a520
Contents?: true
Size: 1.8 KB
Versions: 1
Compression:
Stored size: 1.8 KB
Contents
Feature: Katapult binary `katapult` Scenario: Start new Rails application Given The default aruba timeout is 120 seconds When I successfully run `katapult target binary_test` Then the output should contain "Creating new Rails application" And the output should contain "Installing katapult" And the output should contain "Generating katapult basics" And the output should contain "Done." When I cd to "binary_test" # test whether katapult is installed Then the file "Gemfile" should contain "gem 'katapult'" And a file named "lib/katapult/application_model.rb" should exist # test whether the application is already bundled When I run `bundle check` Then the output should contain "The Gemfile's dependencies are satisfied" # test whether katapult made git commits When I run `git log` Then the output should contain "rails new binary_test" And the output should contain "rails generate katapult:install" And the output should contain "rails generate katapult:basics" And the output should contain "Author: katapult <katapult@makandra.com>" Scenario: Forget to pass application name When I run `katapult target # without app name` Then the output should contain "No value provided for required arguments 'app_path'" Scenario: Run without arguments When I run `katapult # without arguments` Then the output should contain "Usage: katapult [target APP_NAME | fire]" Scenario: Transform the application model Given a pristine Rails application And I install katapult And I generate katapult basics When I run `katapult fire` Then the output should contain "Loading katapult" And the output should contain "parse lib/katapult/application_model" And the output should contain "render into katapult_test_app"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
katapult-0.1.0 | features/binary.feature |