Sha256: 4efdd568243ea7d089f7ffb7b40959e85d50376605ad4624e3155801de125b80
Contents?: true
Size: 723 Bytes
Versions: 2
Compression:
Stored size: 723 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://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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pah-0.0.20 | features/rails_works.feature |
pah-0.0.19 | features/rails_works.feature |