Sha256: 90ffe9f3590e4ec3da6562cb553aacad785faae1e8610bff4d5ae1e58461038f

Contents?: true

Size: 716 Bytes

Versions: 5

Compression:

Stored size: 716 Bytes

Contents

@announce
@no-clobber
Feature: Rails works
  Background:
    Given I have created the app "myapp" with pah

  Scenario: The rails works
    When I run `cp -r myapp myapp_with_controller`
    And I cd to "myapp_with_controller"
    And I run `ruby -e "Bundler.with_clean_env { system 'bundle exec rails g controller welcome index' }"`
    And I run `ruby -e "Bundler.with_clean_env { system 'bundle exec rails s' }"` interactively
    And I run `ruby -e "Bundler.with_clean_env { system 'sleep 15' }"`
    And I run `curl http://localhost:3000/welcome/index`
    And I run `ruby -e 'pid = %x(cat tmp/pids/server.pid); %x(kill -9 #{pid})'`
    Then the stdout should contain:
      """
      Welcome#index
      """


Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pah-0.0.25 features/rails_works.feature
pah-0.0.24 features/rails_works.feature
pah-0.0.23 features/rails_works.feature
pah-0.0.22 features/rails_works.feature
pah-0.0.21 features/rails_works.feature