Sha256: 3155e2afed6f721e4156da50af94b7661642675f53a6b7114256dc2adf51d2cf

Contents?: true

Size: 625 Bytes

Versions: 1

Compression:

Stored size: 625 Bytes

Contents

Feature: Rails works
  Background:
    Given I have created a app with pah

  Scenario: The rails works
    When I cd to "myapp"
    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://0.0.0.0:3000/welcome/index`
    And I run `ruby -e 'pid = %x(cat tmp/pids/server.pid); %x(kill -9 #{pid})'`
    Then the stdout should contain:
      """
      <h1>Welcome#index</h1>
      """


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pah-0.0.14 features/rails_works.feature