Sha256: 7d96f4f8b53a2e1b57d21ed6add7e791649c2d2430261c3b8290a8935ead33b4
Contents?: true
Size: 713 Bytes
Versions: 3
Compression:
Stored size: 713 Bytes
Contents
@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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pah-0.0.17 | features/rails_works.feature |
pah-0.0.16 | features/rails_works.feature |
pah-0.0.15 | features/rails_works.feature |