Created
February 4, 2015 23:10
-
-
Save gkop/c433c5d46c38e5d5c8b2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given the services are running # features/step_definitions/fig_steps.rb:3 | |
Running: fig build && (fig up -d || true) && sleep 10 | |
Process exited successfully | |
nginx version: nginx/1.7.9 | |
And I run "nginx -v" on the "web" service # features/step_definitions/fig_steps.rb:19 | |
Running: fig run -T web bash -c "sleep 1; nginx -v" | |
Process exited successfully | |
Then I should see "nginx" # features/step_definitions/cli_steps.rb:1 | |
And I should see "1.7" # features/step_definitions/cli_steps.rb:1 | |
Scenario: nginx running # features/web.feature:12 | |
Given the services are running # features/step_definitions/fig_steps.rb:3 | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 1477 100 1477 0 0 81426 0 --:--:-- --:--:-- --:--:-- 86882 | |
Server: nginx/1.7.9 | |
And I run "curl -i http://web | grep Server" on "web" # features/step_definitions/fig_steps.rb:19 | |
Running: fig run -T web bash -c "sleep 1; curl -i http://web | grep Server" | |
Process exited successfully | |
Then I should see "Server: nginx" # features/step_definitions/cli_steps.rb:1 | |
Scenario: nginx serving static pages # features/web.feature:17 | |
Given the services are running # features/step_definitions/fig_steps.rb:3 | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 141 100 141 0 0 6466 0 --:--:-- --:--:-- --:--:-- 6714 | |
<h1>It Works!</h1> | |
And I run "curl http://web/test.html | grep '<h1>'" on "web" # features/step_definitions/fig_steps.rb:19 | |
Running: fig run -T web bash -c "sleep 1; curl http://web/test.html | grep '<h1>'" | |
Process exited successfully | |
Then I should see "It Works" # features/step_definitions/cli_steps.rb:1 | |
Scenario: nginx proxying dynamic pages # features/web.feature:22 | |
Given the services are running # features/step_definitions/fig_steps.rb:3 | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 1477 100 1477 0 0 113k 0 --:--:-- --:--:-- --:--:-- 160k | |
<h1>We're sorry, but something went wrong.</h1> | |
And I run "curl http://web/todos | grep '<h1>'" on "web" # features/step_definitions/fig_steps.rb:19 | |
Running: fig run -T web bash -c "sleep 1; curl http://web/todos | grep '<h1>'" | |
Process exited successfully | |
Then I should see "Listing Todos" # features/step_definitions/cli_steps.rb:1 | |
Expected /Listing Todos/ to match "\n % Total % Received % Xferd Average Speed Time Time Time Current\n\n Dload Upload Total Spent Left Speed\n\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r100 1477 100 1477 0 0 113k 0 --:--:-- --:--:-- --:--:-- 160k\n\n <h1>We're sorry, but something went wrong.</h1>\n". (MiniTest::Assertion) | |
./features/step_definitions/cli_steps.rb:2:in `/^I should see "([^\"]*)"$/' | |
features/web.feature:25:in `Then I should see "Listing Todos"' | |
Failing Scenarios: | |
cucumber features/web.feature:22 # Sce |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment