Created
June 20, 2011 22:53
-
-
Save goyox86/1036795 to your computer and use it in GitHub Desktop.
This file contains 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
goyox86@Goyox86s-MacBook ~/Code/CareShare (develop) $ be rake spec | |
*........................................................****..................................................................F.F...........................FF..................................................................................................................................FF..............................*...........................................................................***.........................................................[Worker(host:Goyox86s-MacBook.local pid:11224)] RPM Monitoring DJ worker host:Goyox86s-MacBook.local pid:11224 | |
[Worker(host:Goyox86s-MacBook.local pid:11224)] Mailer.send completed after 0.6601 | |
.[Worker(host:Goyox86s-MacBook.local pid:11224)] RPM Monitoring DJ worker host:Goyox86s-MacBook.local pid:11224 | |
[Worker(host:Goyox86s-MacBook.local pid:11224)] Mailer.send completed after 0.3702 | |
................ | |
Pending: | |
/patient_checkins/show should tell you where to find the file (TODO) | |
./spec/views/patient_checkins/show.html.erb_spec.rb:18 | |
Staff::PhysiciansController showing physician should not show me a a physician if i am not in this physician's sharegroup (before filters) | |
./spec/controllers/staff/physicians_controller_spec.rb:6 | |
Staff::PhysiciansController showing physician should show me a physician for an organization if i am in that organization's sharegroup (before filters) | |
./spec/controllers/staff/physicians_controller_spec.rb:10 | |
Staff::PhysiciansController showing physician should redirect to a physician's public page if they do not have a membership for the org (before filters) | |
./spec/controllers/staff/physicians_controller_spec.rb:14 | |
Staff::PhysiciansController showing physician should show me a physician in the org if they have a membership in the org (before filters) | |
./spec/controllers/staff/physicians_controller_spec.rb:18 | |
PatientCheckinsController POST 'create' not sign in should create a new user (Hookinp up mail) | |
./spec/controllers/patient_checkins_controller_spec.rb:75 | |
Staff::ReferralsController creating a referral sending emails should send email to patient being referred (Hookinp up mail) | |
./spec/controllers/staff/referrals_controller_spec.rb:49 | |
Staff::ReferralsController creating a referral sending emails should send email to receiving organization (Not Yet Implemented) | |
./spec/controllers/staff/referrals_controller_spec.rb:65 | |
Staff::ReferralsController creating a referral sending emails should send email to patient being referred (Hookinp up mail) | |
./spec/controllers/staff/referrals_controller_spec.rb:66 | |
1) | |
'MembershipsController as a manager should let me remove people from my organization' FAILED | |
count should have been changed by -1, but was changed by 0 | |
./spec/controllers/memberships_controller_spec.rb:35: | |
2) | |
'MembershipsController as a patient should let me check out and destroy my membership' FAILED | |
count should have been changed by -1, but was changed by 0 | |
./spec/controllers/memberships_controller_spec.rb:17: | |
3) | |
'Staff::PatientsController showing patient should not show me a patient if my office does not have the patient as a member' FAILED | |
expected redirect? to return true, got false | |
./spec/controllers/staff/patients_controller_spec.rb:36: | |
4) | |
Test::Unit::AssertionFailedError in 'Staff::PatientsController showing patient should show me a patient if my office have the patient as a member' | |
"Audit.count" didn't change by 1. | |
<1> expected but was | |
<0>. | |
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/testing/assertions.rb:44:in `assert_difference' | |
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_view/paths.rb:74:in `each_with_index' | |
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/testing/assertions.rb:41:in `each' | |
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/testing/assertions.rb:41:in `each_with_index' | |
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/testing/assertions.rb:41:in `assert_difference' | |
./spec/controllers/staff/patients_controller_spec.rb:41: | |
5) | |
NameError in 'Person should not show member since date if not a member of org' | |
undefined local variable or method `org_id' for #<Person:0x10788ed40> | |
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/attribute_methods.rb:260:in `method_missing' | |
/Users/goyox86/Code/CareShare/app/models/person.rb:158:in `org_member_since' | |
./spec/models/person_spec.rb:68: | |
6) | |
NameError in 'Person should show member-since date if member of org' | |
undefined local variable or method `org_id' for #<Person:0x1077fbae0> | |
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/attribute_methods.rb:260:in `method_missing' | |
/Users/goyox86/Code/CareShare/app/models/person.rb:158:in `org_member_since' | |
./spec/models/person_spec.rb:75: | |
Finished in 415.020564 seconds | |
474 examples, 6 failures, 9 pending | |
rake aborted! | |
Command /Users/goyox86/.rvm/rubies/ruby-1.8.7-p334/bin/ruby -I"lib" "/Users/goyox86/Code/CareShare/vendor/plugins/rspec/bin/spec" "spec/controllers/admin/allergy_records_controller_spec.rb" "spec/controllers/admin/health_conditions_controller_spec.rb" "spec/controllers/admin/medication_records_controller_spec.rb" "spec/controllers/admin/treatment_records_controller_spec.rb" "spec/controllers/admin_controller_spec.rb" "spec/controllers/audits_controller_spec.rb" "spec/controllers/comments_controller_spec.rb" "spec/controllers/credit_cards_controller_spec.rb" "spec/controllers/credit_controller_spec.rb" "spec/controllers/doctor/doctor_controller_spec.rb" "spec/controllers/fax_blocks_controller_spec.rb" "spec/controllers/fax_invites_controller_spec.rb" "spec/controllers/manager/manager_controller_spec.rb" "spec/controllers/memberships_controller_spec.rb" "spec/controllers/messages_controller_spec.rb" "spec/controllers/orders_controller_spec.rb" "spec/controllers/organizations_controller_spec.rb" "spec/controllers/patient_checkins_controller_spec.rb" "spec/controllers/people_controller_spec.rb" "spec/controllers/registrations_controller_spec.rb" "spec/controllers/reviews_controller_spec.rb" "spec/controllers/search_controller_spec.rb" "spec/controllers/staff/doctors_controller_spec.rb" "spec/controllers/staff/patients_controller_spec.rb" "spec/controllers/staff/physicians_controller_spec.rb" "spec/controllers/staff/referrals_controller_spec.rb" "spec/controllers/staff/sharegroup_invite_controller_spec.rb" "spec/controllers/staff/staff_controller_spec.rb" "spec/controllers/staff/zip_files_controller_spec.rb" "spec/controllers/uploads_controller_spec.rb" "spec/helpers/admin_helper_spec.rb" "spec/helpers/allergy_records_helper_spec.rb" "spec/helpers/audits_helper_spec.rb" "spec/helpers/credit_cards_helper_spec.rb" "spec/helpers/credit_helper_spec.rb" "spec/helpers/doctor/doctor_helper_spec.rb" "spec/helpers/fax_blocks_helper_spec.rb" "spec/helpers/health_conditions_helper_spec.rb" "spec/helpers/manager/manager_helper_spec.rb" "spec/helpers/medication_records_helper_spec.rb" "spec/helpers/orders_helper_spec.rb" "spec/helpers/organizations_helper_spec.rb" "spec/helpers/owner/owner_helper_spec.rb" "spec/helpers/patient/patient_helper_spec.rb" "spec/helpers/patient_checkins_helper_spec.rb" "spec/helpers/people_helper_spec.rb" "spec/helpers/person_helper_spec.rb" "spec/helpers/search_helper_spec.rb" "spec/helpers/staff/zip_files_helper_spec.rb" "spec/helpers/staff_member/referrals_helper_spec.rb" "spec/helpers/staff_member/staff_member_helper_spec.rb" "spec/helpers/treatment_records_helper_spec.rb" "spec/integration/action_pad_spec.rb" "spec/integration/checkin_spec.rb" "spec/integration/global_nav_spec.rb" "spec/integration/loging_in_spec.rb" "spec/integration/organization_editing_spec.rb" "spec/integration/organization_setup_spec.rb" "spec/integration/patient_spec.rb" "spec/integration/user_registration_spec.rb" "spec/lib/action_mailer_extensions_spec.rb" "spec/models/address_spec.rb" "spec/models/allergy_record_spec.rb" "spec/models/allergy_spec.rb" "spec/models/audit_spec.rb" "spec/models/cardiovascular_system_spec.rb" "spec/models/careboard_spec.rb" "spec/models/ccr_spec.rb" "spec/models/checkin_organization_spec.rb" "spec/models/comment_spec.rb" "spec/models/constitutional_system_spec.rb" "spec/models/credit_card_spec.rb" "spec/models/credit_spec.rb" "spec/models/crumb_spec.rb" "spec/models/ear_nose_throat_mouth_system_spec.rb" "spec/models/emergency_contact_spec.rb" "spec/models/endocrine_system_spec.rb" "spec/models/eye_sight_system_spec.rb" "spec/models/family_member_spec.rb" "spec/models/fax_block_spec.rb" "spec/models/fax_invite_spec.rb" "spec/models/gastrointestinal_system_spec.rb" "spec/models/general_symptom_spec.rb" "spec/models/genitourinary_system_spec.rb" "spec/models/group_spec.rb" "spec/models/health_conditions_spec.rb" "spec/models/hemolymphatic_system_spec.rb" "spec/models/injury_location_spec.rb" "spec/models/integumentary_system_spec.rb" "spec/models/join_invite_spec.rb" "spec/models/mailer_spec.rb" "spec/models/medication_record_spec.rb" "spec/models/message_spec.rb" "spec/models/musculoskeletal_system_spec.rb" "spec/models/neurological_system_spec.rb" "spec/models/order_spec.rb" "spec/models/organization_spec.rb" "spec/models/pain_spec.rb" "spec/models/patient_checkin_spec.rb" "spec/models/patient_drug_spec.rb" "spec/models/patient_health_condition_spec.rb" "spec/models/patient_injury_spec.rb" "spec/models/patient_policy_spec.rb" "spec/models/patient_profile_spec.rb" "spec/models/patient_relatives_spec.rb" "spec/models/patient_test_result_spec.rb" "spec/models/person_spec.rb" "spec/models/phone_spec.rb" "spec/models/psychiatric_system_spec.rb" "spec/models/referral_spec.rb" "spec/models/residency_spec.rb" "spec/models/respiratory_system_spec.rb" "spec/models/scan_spec.rb" "spec/models/school_spec.rb" "spec/models/sharegroup_invite_spec.rb" "spec/models/symptom_spec.rb" "spec/models/treatment_record_spec.rb" "spec/models/treatment_spec.rb" "spec/models/upload_spec.rb" "spec/models/user_spec.rb" "spec/models/zip_file_spec.rb" "spec/views/allergy_records/create.html.erb_spec.rb" "spec/views/allergy_records/destroy.html.erb_spec.rb" "spec/views/allergy_records/index.html.erb_spec.rb" "spec/views/allergy_records/new.html.erb_spec.rb" "spec/views/allergy_records/show.html.erb_spec.rb" "spec/views/allergy_records/update.html.erb_spec.rb" "spec/views/fax_blocks/index.html.erb_spec.rb" "spec/views/health_conditions/edit.html.erb_spec.rb" "spec/views/health_conditions/index.html.erb_spec.rb" "spec/views/health_conditions/new.html.erb_spec.rb" "spec/views/medication_records/create.html.erb_spec.rb" "spec/views/medication_records/destroy.html.erb_spec.rb" "spec/views/medication_records/index.html.erb_spec.rb" "spec/views/medication_records/new.html.erb_spec.rb" "spec/views/medication_records/show.html.erb_spec.rb" "spec/views/medication_records/update.html.erb_spec.rb" "spec/views/patient_checkins/edit.html.erb_spec.rb" "spec/views/patient_checkins/index.html.erb_spec.rb" "spec/views/patient_checkins/new.html.erb_spec.rb" "spec/views/patient_checkins/show.html.erb_spec.rb" "spec/views/treatment_records/create.html.erb_spec.rb" "spec/views/treatment_records/destroy.html.erb_spec.rb" "spec/views/treatment_records/index.html.erb_spec.rb" "spec/views/treatment_records/new.html.erb_spec.rb" "spec/views/treatment_records/show.html.erb_spec.rb" "spec/views/treatment_records/update.html.erb_spec.rb" --options "/Users/goyox86/Code/CareShare/spec/spec.opts" failed | |
Tasks: TOP => spec | |
(See full trace by running task with --trace) | |
goyox86@Goyox86s-MacBook ~/Code/CareShare (develop) $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment