Skip to content

Instantly share code, notes, and snippets.

@goyox86
Created March 25, 2011 15:07
Show Gist options
  • Save goyox86/886977 to your computer and use it in GitHub Desktop.
Save goyox86/886977 to your computer and use it in GitHub Desktop.
Goyox86s-MacBook:CareShare goyox86$ bundle exec rake cucumber
(in /Users/goyox86/Code/CareShare)
bundle exec /Users/goyox86/.rvm/rubies/ruby-1.8.7-p334/bin/ruby -I "/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/cucumber-0.10.2/lib:lib" "/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/cucumber-0.10.2/bin/cucumber" --profile default
Using the default profile...
...................................F---.................F---.........................F---.....................F---
(::) failed steps (::)
expected: 401,
got: 200 (using ==)
Diff:
@@ -1,2 +1,2 @@
-401
+200
(Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/api_steps.rb:12:in `/^http response status should be "([^"]*)"$/'
features/notices_acknowledge.feature:36:in `Then http response status should be "401"'
expected: 401,
got: 200 (using ==)
Diff:
@@ -1,2 +1,2 @@
-401
+200
(Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/api_steps.rb:12:in `/^http response status should be "([^"]*)"$/'
features/notices_get.feature:27:in `Then http response status should be "401"'
expected: 401,
got: 200 (using ==)
Diff:
@@ -1,2 +1,2 @@
-401
+200
(Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/api_steps.rb:12:in `/^http response status should be "([^"]*)"$/'
features/notices_get_specific.feature:42:in `Then http response status should be "401"'
expected: 401,
got: 200 (using ==)
Diff:
@@ -1,2 +1,2 @@
-401
+200
(Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/api_steps.rb:12:in `/^http response status should be "([^"]*)"$/'
features/pending_patients_emr.feature:33:in `Then http response status should be "401"'
Failing Scenarios:
cucumber features/notices_acknowledge.feature:32 # Scenario: try to acknowledge delivery of a notice when not authenticated
cucumber features/notices_get.feature:23 # Scenario: try get the list of available notices when not authenticated
cucumber features/notices_get_specific.feature:38 # Scenario: try to get a notice that was already fetched when not authenticated
cucumber features/pending_patients_emr.feature:29 # Scenario: try to add EMR ID when not authenticated
17 scenarios (4 failed, 13 passed)
114 steps (4 failed, 12 skipped, 98 passed)
0m4.010s
rake aborted!
Command failed with status (1): [bundle exec /Users/goyox86/.rvm/rubies/rub...]
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment