Skip to content

Instantly share code, notes, and snippets.

@goyox86
Created May 26, 2011 18:32
Show Gist options
  • Save goyox86/993723 to your computer and use it in GitHub Desktop.
Save goyox86/993723 to your computer and use it in GitHub Desktop.
goyox86@Goyox86s-MacBook ~/Code/CareShare (feature/ccr4r) $ be rake spec
rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+)
*....................................................................****...................................................................................................FF............................................................................F......................F.......jaboza_278@email.com
F*F...FF...........................................................................[Worker(host:Goyox86s-MacBook.local pid:59901)] Organization#send_invite_emails_without_delay completed after 0.0296
..........................
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
Staff::ReferralsController creating a referral sending emails should send email to receiving organization (Not Yet Implemented)
./spec/controllers/staff/referrals_controller_spec.rb:65
1)
'CommentsController messages comments creating a message comment should reward two points when doctor replies patient' FAILED
expected: true,
got: 0 (using ==)
./spec/controllers/comments_controller_spec.rb:187:
2)
'CommentsController messages comments creating a message comment should not reward two points when doctor replies non patient' FAILED
expected: false,
got: nil (using ==)
./spec/controllers/comments_controller_spec.rb:203:
3)
'PatientCheckinsController POST 'create' not sign in should create a new user' FAILED
Expected sent email
Deliveries:
./spec/controllers/patient_checkins_controller_spec.rb:78:
4)
'UploadsController uploading scan should send email' FAILED
Expected sent email
Deliveries:
./spec/controllers/uploads_controller_spec.rb:38:
5)
'Staff::ReferralsController creating a referral sending emails should send email to patient being referred' FAILED
Expected sent email
Deliveries:
./spec/controllers/staff/referrals_controller_spec.rb:56:
6)
'Staff::ReferralsController creating a referral sending emails should send email to patient being referred' FAILED
Expected sent email
Deliveries:
./spec/controllers/staff/referrals_controller_spec.rb:69:
7)
NoMethodError in 'AuditsController GET 'show' should be successful'
undefined method `create_organization_and_membership' for #<User:0x10b771030>
/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'
./spec/controllers/audits_controller_spec.rb:8:
8)
NoMethodError in 'AuditsController GET 'index' should be successful'
undefined method `create_organization_and_membership' for #<User:0x10b65cc58>
/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'
./spec/controllers/audits_controller_spec.rb:8:
Finished in 234.200307 seconds
390 examples, 8 failures, 6 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/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/patient_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