Sha256: 2bd44e7aab7543326ddd4aa14f946182ed197a43cef5a362a0f673697747981f

Contents?: true

Size: 802 Bytes

Versions: 3

Compression:

Stored size: 802 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 spring stop' }"`
    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

3 entries across 3 versions & 1 rubygems

Version Path
pah-0.0.28 features/rails_works.feature
pah-0.0.27 features/rails_works.feature
pah-0.0.26 features/rails_works.feature