Skip to content

Instantly share code, notes, and snippets.

@goyox86
Created June 9, 2011 15:54
Show Gist options
  • Save goyox86/1017038 to your computer and use it in GitHub Desktop.
Save goyox86/1017038 to your computer and use it in GitHub Desktop.
goyox86@Goyox86s-MacBook ~/Code/CareShare (feature/ccr4r) $ be rake spec
*........................................................****..............................................................................................................................................*[email protected]
***...............[Worker(host:Goyox86s-MacBook.local pid:5620)] Organization#send_invite_emails_without_delay failed with NoMethodError: undefined method `memberships' for "LOAD;Person;":String - 0 failed attempts
[Worker(host:Goyox86s-MacBook.local pid:5620)] Organization#send_invite_emails_without_delay completed after 0.6418
[Worker(host:Goyox86s-MacBook.local pid:5620)] Upload#send_email_without_delay completed after 0.2803
.[Worker(host:Goyox86s-MacBook.local pid:5620)] Organization#send_invite_emails_without_delay failed with NoMethodError: undefined method `memberships' for "LOAD;Person;":String - 0 failed attempts
[Worker(host:Goyox86s-MacBook.local pid:5620)] Organization#send_invite_emails_without_delay completed after 0.2190
[Worker(host:Goyox86s-MacBook.local pid:5620)] Upload#send_email_without_delay completed after 0.0044
......................................................................*.............................[Worker(host:Goyox86s-MacBook.local pid:5620)] Organization#send_invite_emails_without_delay failed with NoMethodError: undefined method `memberships' for "LOAD;Person;":String - 0 failed attempts
[Worker(host:Goyox86s-MacBook.local pid:5620)] Organization#send_invite_emails_without_delay completed after 0.2547
[Worker(host:Goyox86s-MacBook.local pid:5620)] Upload#send_email_without_delay failed with NoMethodError: undefined method `organizations' for nil:NilClass - 0 failed attempts
[Worker(host:Goyox86s-MacBook.local pid:5620)] Comment#send_emails_without_delay completed after 0.3120
[Worker(host:Goyox86s-MacBook.local pid:5620)] Comment#send_emails_without_delay completed after 0.0261
.[Worker(host:Goyox86s-MacBook.local pid:5620)] Organization#send_invite_emails_without_delay failed with NoMethodError: undefined method `memberships' for "LOAD;Person;":String - 0 failed attempts
[Worker(host:Goyox86s-MacBook.local pid:5620)] Organization#send_invite_emails_without_delay completed after 0.2108
[Worker(host:Goyox86s-MacBook.local pid:5620)] Comment#send_emails_without_delay completed after 0.5836
[Worker(host:Goyox86s-MacBook.local pid:5620)] Comment#send_emails_without_delay completed after 0.0217
........................................................................................................[Worker(host:Goyox86s-MacBook.local pid:5620)] Organization#send_invite_emails_without_delay completed after 0.3068
F........
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
UploadsController uploading scan should send email (hooking up email)
./spec/controllers/uploads_controller_spec.rb:36
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:67
Staff::ReferralsController creating a referral sending emails should send email to patient being referred (Hookinp up mail)
./spec/controllers/staff/referrals_controller_spec.rb:68
PatientCheckinsController POST 'create' not sign in should create a new user (Hookinp up mail)
./spec/controllers/patient_checkins_controller_spec.rb:75
1)
'Organization creating members should create a patient and reward three points' FAILED
expected: /org_323 invites you to check in on CareShare/,
got: "org_323 has invited you to CareShare" (using =~)
./spec/models/organization_spec.rb:86:
Finished in 441.803831 seconds
467 examples, 1 failure, 10 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/patient_spec.rb" "spec/integration/user_registration_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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment