Skip to content

Instantly share code, notes, and snippets.

@goyox86
Created March 25, 2011 14:56
Show Gist options
  • Save goyox86/886964 to your computer and use it in GitHub Desktop.
Save goyox86/886964 to your computer and use it in GitHub Desktop.
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-----.F-----.F-----.F-----.F-----.F------.F-----........F-----.F-----.F--........F-----
(::) failed steps (::)
Table 'care_test.rewards' doesn't exist (Mysql2::Error)
./lib/rewards.rb:23:in `save_reward'
./lib/rewards.rb:27:in `reward_for_create'
./features/step_definitions/new_patient_steps.rb:23:in `/^user identified by "([^"]*)" has started a membership with "([^"]*)"$/'
features/new_patient_notice.feature:8:in `And user identified by "123" has started a membership with "SVN"'
Table 'care_test.rewards' doesn't exist (Mysql2::Error)
./lib/rewards.rb:23:in `save_reward'
./lib/rewards.rb:27:in `reward_for_create'
./features/step_definitions/new_patient_steps.rb:58:in `/^user identified by "([^"]*)" has already completed checkin for organization "([^"]*)"$/'
features/new_patient_notice.feature:16:in `And user identified by "123" has already completed checkin for organization "ABC"'
Table 'care_test.rewards' doesn't exist (Mysql2::Error)
./lib/rewards.rb:23:in `save_reward'
./lib/rewards.rb:27:in `reward_for_create'
./features/step_definitions/notice_steps.rb:22:in `/^notice identified by "([^"]*)" is available$/'
features/notices_acknowledge.feature:7:in `And notice identified by "243" is available'
Table 'care_test.rewards' doesn't exist (Mysql2::Error)
./lib/rewards.rb:23:in `save_reward'
./lib/rewards.rb:27:in `reward_for_create'
./features/step_definitions/notice_steps.rb:50:in `/^notice identified by "([^"]*)" was already fetched$/'
features/notices_acknowledge.feature:25:in `And notice identified by "243" was already fetched'
Table 'care_test.rewards' doesn't exist (Mysql2::Error)
./lib/rewards.rb:23:in `save_reward'
./lib/rewards.rb:27:in `reward_for_create'
./features/step_definitions/notice_steps.rb:22:in `/^notice identified by "([^"]*)" is available$/'
features/notices_acknowledge.feature:34:in `And notice identified by "243" is available'
Table 'care_test.rewards' doesn't exist (Mysql2::Error)
./lib/rewards.rb:23:in `save_reward'
./lib/rewards.rb:27:in `reward_for_create'
./features/step_definitions/notice_steps.rb:11:in `/^there are "([^"]*)" available notices$/'
features/notices_get.feature:7:in `And there are "10" available notices'
Table 'care_test.rewards' doesn't exist (Mysql2::Error)
./lib/rewards.rb:23:in `save_reward'
./lib/rewards.rb:27:in `reward_for_create'
./features/step_definitions/notice_steps.rb:11:in `/^there are "([^"]*)" available notices$/'
features/notices_get.feature:16:in `And there are "0" available notices'
Table 'care_test.rewards' doesn't exist (Mysql2::Error)
./lib/rewards.rb:23:in `save_reward'
./lib/rewards.rb:27:in `reward_for_create'
./features/step_definitions/notice_steps.rb:11:in `/^there are "([^"]*)" available notices$/'
features/notices_get.feature:25:in `And there are "10" available notices'
Table 'care_test.rewards' doesn't exist (Mysql2::Error)
./lib/rewards.rb:23:in `save_reward'
./lib/rewards.rb:27:in `reward_for_create'
./features/step_definitions/notice_steps.rb:22:in `/^notice identified by "([^"]*)" is available$/'
features/notices_get_specific.feature:7:in `And notice identified by "243" is available'
Table 'care_test.rewards' doesn't exist (Mysql2::Error)
./lib/rewards.rb:23:in `save_reward'
./lib/rewards.rb:27:in `reward_for_create'
./features/step_definitions/notice_steps.rb:50:in `/^notice identified by "([^"]*)" was already fetched$/'
features/notices_get_specific.feature:22:in `And notice identified by "752" was already fetched'
Table 'care_test.rewards' doesn't exist (Mysql2::Error)
./lib/rewards.rb:23:in `save_reward'
./lib/rewards.rb:27:in `reward_for_create'
./features/step_definitions/notice_steps.rb:22:in `/^notice identified by "([^"]*)" is available$/'
features/notices_get_specific.feature:40:in `And notice identified by "823" is available'
Table 'care_test.rewards' doesn't exist (Mysql2::Error)
./lib/rewards.rb:23:in `save_reward'
./lib/rewards.rb:27:in `reward_for_create'
./features/step_definitions/patient_steps.rb:21:in `/^patient identified by "([^"]*)" is pending for EMR ID$/'
features/pending_patients_emr.feature:7:in `And patient identified by "243" is pending for EMR ID'
Table 'care_test.rewards' doesn't exist (Mysql2::Error)
./lib/rewards.rb:23:in `save_reward'
./lib/rewards.rb:27:in `reward_for_create'
./features/step_definitions/patient_steps.rb:21:in `/^patient identified by "([^"]*)" is pending for EMR ID$/'
features/pending_patients_emr.feature:16:in `And patient identified by "243" is pending for EMR ID'
Table 'care_test.rewards' doesn't exist (Mysql2::Error)
./lib/rewards.rb:23:in `save_reward'
./lib/rewards.rb:27:in `reward_for_create'
./features/step_definitions/patient_steps.rb:21:in `/^patient identified by "([^"]*)" is pending for EMR ID$/'
features/pending_patients_emr.feature:31:in `And patient identified by "243" is pending for EMR ID'
Failing Scenarios:
cucumber features/new_patient_notice.feature:5 # Scenario: user hasn't completed checkin
cucumber features/new_patient_notice.feature:12 # Scenario: user has previously completed checkin
cucumber features/notices_acknowledge.feature:5 # Scenario: acknowledge delivery of a notice
cucumber features/notices_acknowledge.feature:23 # Scenario: try to acknowledge delivery of an unavailable notice
cucumber features/notices_acknowledge.feature:32 # Scenario: try to acknowledge delivery of a notice when not authenticated
cucumber features/notices_get.feature:5 # Scenario: get the list of available notices when authenticated
cucumber features/notices_get.feature:14 # Scenario: get the list of available notices when authenticated
cucumber features/notices_get.feature:23 # Scenario: try get the list of available notices when not authenticated
cucumber features/notices_get_specific.feature:5 # Scenario: get a specific notice
cucumber features/notices_get_specific.feature:20 # Scenario: try to get a notice that was already fetched
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:5 # Scenario: add EMR ID to patient
cucumber features/pending_patients_emr.feature:14 # Scenario: try to add EMR ID when no match is found
cucumber features/pending_patients_emr.feature:29 # Scenario: try to add EMR ID when not authenticated
17 scenarios (14 failed, 3 passed)
114 steps (14 failed, 62 skipped, 38 passed)
0m2.678s
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