Skip to content

Instantly share code, notes, and snippets.

@goyox86
Created June 8, 2011 17:57
Show Gist options
  • Save goyox86/1014934 to your computer and use it in GitHub Desktop.
Save goyox86/1014934 to your computer and use it in GitHub Desktop.
goyox86@Goyox86s-MacBook ~/Code/CareShare (develop) $ be rake spec
*........................................................****.......................................................................FFFFFFFFFFFFFFFFF.........................FFFF....FFF......FFFFFFFF...FFFFFFFFFFFFFF.....jaboza_210@email.com
***....*...............................................................................*.............................[Worker(host:Goyox86s-MacBook.local pid:867)] 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:867)] Organization#send_invite_emails_without_delay completed after 10.3930
[Worker(host:Goyox86s-MacBook.local pid:867)] Organization#send_invite_emails_without_delay failed with NoMethodError: undefined method `memberships' for "LOAD;Person;":String - 1 failed attempts
[Worker(host:Goyox86s-MacBook.local pid:867)] Upload#send_email_without_delay completed after 0.2290
.[Worker(host:Goyox86s-MacBook.local pid:867)] 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:867)] Organization#send_invite_emails_without_delay completed after 0.2304
[Worker(host:Goyox86s-MacBook.local pid:867)] Upload#send_email_without_delay completed after 0.0043
.............................................................[Worker(host:Goyox86s-MacBook.local pid:867)] 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:867)] Organization#send_invite_emails_without_delay completed after 0.5411
[Worker(host:Goyox86s-MacBook.local pid:867)] Upload#send_email_without_delay failed with NoMethodError: undefined method `organizations' for nil:NilClass - 0 failed attempts
[Worker(host:Goyox86s-MacBook.local pid:867)] Comment#send_emails_without_delay completed after 0.1189
[Worker(host:Goyox86s-MacBook.local pid:867)] Comment#send_emails_without_delay completed after 0.0197
.[Worker(host:Goyox86s-MacBook.local pid:867)] 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:867)] Organization#send_invite_emails_without_delay completed after 0.2416
[Worker(host:Goyox86s-MacBook.local pid:867)] Comment#send_emails_without_delay completed after 0.2438
[Worker(host:Goyox86s-MacBook.local pid:867)] Comment#send_emails_without_delay completed after 0.0222
.......................................[Worker(host:Goyox86s-MacBook.local pid:867)] Organization#send_invite_emails_without_delay completed after 0.2283
.............
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 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
UploadsController uploading scan should send email (hooking up email)
./spec/controllers/uploads_controller_spec.rb:36
PatientCheckinsController POST 'create' not sign in should create a new user (Hookinp up mail)
./spec/controllers/patient_checkins_controller_spec.rb:75
1)
SocketError in 'SharegroupInvite re-sending an invite should not be valid if the host org has sent the invitation to guest org before'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:144:
2)
SocketError in 'SharegroupInvite re-sending an invite should not be valid if the host org has been invited by guest org before'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:144:
3)
SocketError in 'SharegroupInvite re-sending an invite should not be valid if guest org is already part of host org's sharegroup'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:144:
4)
SocketError in 'SharegroupInvite re-sending an invite should not be valid if host org is already part of guest org's sharegroup'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:144:
5)
SocketError in 'SharegroupInvite re-sending an invite should not be valid if invited org is owning org'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:144:
6)
SocketError in 'SharegroupInvite rejecting a sharegroup invite should reject an invite and leave crumbs'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:108:
7)
SocketError in 'SharegroupInvite rejecting a sharegroup invite should not reject an invite without message'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:108:
8)
SocketError in 'SharegroupInvite rejecting a sharegroup invite should not reject an already accepted or rejected invite'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:108:
9)
SocketError in 'SharegroupInvite accepting a sharegroup invite should accept the invite and leave crumbs'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:58:
10)
SocketError in 'SharegroupInvite accepting a sharegroup invite should not accept the invite with wrong keys'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:58:
11)
SocketError in 'SharegroupInvite accepting a sharegroup invite should not accept an already accepted or rejected invite'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:58:
12)
SocketError in 'SharegroupInvite accepting a sharegroup invite should not accept an invite without keys'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:58:
13)
SocketError in 'SharegroupInvite creating a sharegroup invite should generate random keys'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:17:
14)
SocketError in 'SharegroupInvite creating a sharegroup invite should email managers'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:17:
15)
SocketError in 'SharegroupInvite creating a sharegroup invite should belong to person'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:17:
16)
SocketError in 'SharegroupInvite creating a sharegroup invite should belong to host organization'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:17:
17)
SocketError in 'SharegroupInvite creating a sharegroup invite should belong to guest organization'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/sharegroup_invite_spec.rb:17:
18)
'Mailer optional emails person who doesn't want emails should deliver successfully' FAILED
expected no Exception, got #<SocketError: getaddrinfo: nodename nor servname provided, or not known>
./spec/models/mailer_spec.rb:32:
19)
SocketError in 'Mailer optional emails person who doesn't want emails should not be added to the delivery queue'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:91:in `message_received'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
./spec/models/mailer_spec.rb:37:
./spec/models/mailer_spec.rb:37:
20)
'Mailer optional emails person who does wants emails should deliver successfully' FAILED
expected no Exception, got #<SocketError: getaddrinfo: nodename nor servname provided, or not known>
./spec/models/mailer_spec.rb:15:
21)
SocketError in 'Mailer optional emails person who does wants emails should be added to the delivery queue'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:91:in `message_received'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
./spec/models/mailer_spec.rb:20:
./spec/models/mailer_spec.rb:20:
22)
SocketError in 'Referral should create a referral along with a ShareGroupInvite and keep referral's state in 'not_sent' if both receiving and sending org haven't a Sharegroup yet'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
/Users/goyox86/Code/CareShare/app/models/referral.rb:109:in `send_sharegroup_invite'
/Users/goyox86/Code/CareShare/app/models/referral.rb:96:in `have_a_sharegroup?'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:17:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:155:in `aasm_fire_event'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:53:in `send_referral!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2594:in `save_without_validation!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1100:in `save_without_dirty!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/proxy/create.rb:6:in `result'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:330:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:273:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `default_strategy'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl.rb:20:in `Factory'
./spec/models/referral_spec.rb:44:
23)
SocketError in 'Referral should create a referral, keep its state in 'not_sent' and assign ShareGroupInvite if sending org has invited
receiving org before'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/referral_spec.rb:54:
24)
SocketError in 'Referral should create a referral, keep its state in 'not_sent' and assign ShareGroupInvite if receiving org has invited
guest org before'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/models/referral_spec.rb:66:
25)
SocketError in 'Staff::SharegroupInvitesController viewing invites should be successful'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/controllers/staff/sharegroup_invite_controller_spec.rb:151:
26)
SocketError in 'Staff::SharegroupInvitesController rejecting invites should not let me reject a sharegroup invite if I am not a manager of the org receiving the invite'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/controllers/staff/sharegroup_invite_controller_spec.rb:106:
27)
SocketError in 'Staff::SharegroupInvitesController rejecting invites should let me reject a sharegroup invite if I am the manager of the org receiving the invite'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/controllers/staff/sharegroup_invite_controller_spec.rb:106:
28)
SocketError in 'Staff::SharegroupInvitesController rejecting invites should switch the status from 'waiting_for_key' to 'rejected' if I am the manager of the org receiving the invite'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/controllers/staff/sharegroup_invite_controller_spec.rb:106:
29)
SocketError in 'Staff::SharegroupInvitesController accepting invites should not let me accept a sharegroup invite if I am not a manager of the org receiving the invite'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/controllers/staff/sharegroup_invite_controller_spec.rb:48:
30)
SocketError in 'Staff::SharegroupInvitesController accepting invites should switch the status from 'unread' to 'waiting_for_key' if I am the manager of the org sending the invite, not reward points, and leave crumbs'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/controllers/staff/sharegroup_invite_controller_spec.rb:48:
31)
SocketError in 'Staff::SharegroupInvitesController accepting invites should switch the status from 'waiting_for_key' to 'accepted' if I am the manager of the org receiving the invite, reward two points, and leave crumbs'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
./spec/controllers/staff/sharegroup_invite_controller_spec.rb:48:
32)
SocketError in 'Staff::SharegroupInvitesController creating a sharegroup invite should create a sharegroup invite from org_01 to org_02 and leave crumbs on both orgs'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/Code/CareShare/app/controllers/staff/sharegroup_invites_controller.rb:15:in `add_to_sharegroup'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/base.rb:1333:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/base.rb:1333:in `perform_action_without_filters'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/filters.rb:617:in `call_filters'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/filters.rb:638:in `run_before_filters'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/filters.rb:206:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/filters.rb:206:in `around_proc'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:182:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:182:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/filters.rb:184:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/filters.rb:635:in `run_before_filters'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/filters.rb:615:in `call_filters'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/flash.rb:151:in `perform_action'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/base.rb:532:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/base.rb:532:in `process_without_filters'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/filters.rb:606:in `process_without_compass'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/compass-0.11.1/lib/compass/app_integration/rails/actionpack2/action_controller.rb:7:in `process'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/test_process.rb:567:in `process_with_test'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/test_process.rb:447:in `process'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionpack-2.3.10/lib/action_controller/test_process.rb:398:in `get'
./spec/controllers/staff/sharegroup_invite_controller_spec.rb:20:
./spec/controllers/staff/sharegroup_invite_controller_spec.rb:19:
33)
SocketError in 'CommentsController messages comments creating a message comment should create a comment with required fields'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
/Users/goyox86/Code/CareShare/app/models/referral.rb:109:in `send_sharegroup_invite'
/Users/goyox86/Code/CareShare/app/models/referral.rb:96:in `have_a_sharegroup?'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:17:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:155:in `aasm_fire_event'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:53:in `send_referral!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2594:in `save_without_validation!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1100:in `save_without_dirty!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/proxy/create.rb:6:in `result'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:330:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:273:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `default_strategy'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl.rb:20:in `Factory'
./spec/controllers/comments_controller_spec.rb:18:
34)
SocketError in 'CommentsController messages comments creating a message comment should not create a comment without required fields'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
/Users/goyox86/Code/CareShare/app/models/referral.rb:109:in `send_sharegroup_invite'
/Users/goyox86/Code/CareShare/app/models/referral.rb:96:in `have_a_sharegroup?'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:17:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:155:in `aasm_fire_event'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:53:in `send_referral!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2594:in `save_without_validation!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1100:in `save_without_dirty!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/proxy/create.rb:6:in `result'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:330:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:273:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `default_strategy'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl.rb:20:in `Factory'
./spec/controllers/comments_controller_spec.rb:18:
35)
SocketError in 'CommentsController messages comments creating a message comment should reward two points when doctor replies patient'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
/Users/goyox86/Code/CareShare/app/models/referral.rb:109:in `send_sharegroup_invite'
/Users/goyox86/Code/CareShare/app/models/referral.rb:96:in `have_a_sharegroup?'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:17:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:155:in `aasm_fire_event'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:53:in `send_referral!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2594:in `save_without_validation!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1100:in `save_without_dirty!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/proxy/create.rb:6:in `result'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:330:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:273:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `default_strategy'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl.rb:20:in `Factory'
./spec/controllers/comments_controller_spec.rb:18:
36)
SocketError in 'CommentsController messages comments creating a message comment should not reward two points when doctor replies non patient'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
/Users/goyox86/Code/CareShare/app/models/referral.rb:109:in `send_sharegroup_invite'
/Users/goyox86/Code/CareShare/app/models/referral.rb:96:in `have_a_sharegroup?'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:17:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:155:in `aasm_fire_event'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:53:in `send_referral!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2594:in `save_without_validation!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1100:in `save_without_dirty!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/proxy/create.rb:6:in `result'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:330:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:273:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `default_strategy'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl.rb:20:in `Factory'
./spec/controllers/comments_controller_spec.rb:18:
37)
SocketError in 'CommentsController referrals comments deleting a referral comment should delete a comment'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
/Users/goyox86/Code/CareShare/app/models/referral.rb:109:in `send_sharegroup_invite'
/Users/goyox86/Code/CareShare/app/models/referral.rb:96:in `have_a_sharegroup?'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:17:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:155:in `aasm_fire_event'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:53:in `send_referral!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2594:in `save_without_validation!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1100:in `save_without_dirty!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/proxy/create.rb:6:in `result'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:330:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:273:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `default_strategy'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl.rb:20:in `Factory'
./spec/controllers/comments_controller_spec.rb:18:
38)
SocketError in 'CommentsController referrals comments creating a referral comment should create a comment with required fields'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
/Users/goyox86/Code/CareShare/app/models/referral.rb:109:in `send_sharegroup_invite'
/Users/goyox86/Code/CareShare/app/models/referral.rb:96:in `have_a_sharegroup?'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:17:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:155:in `aasm_fire_event'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:53:in `send_referral!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2594:in `save_without_validation!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1100:in `save_without_dirty!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/proxy/create.rb:6:in `result'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:330:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:273:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `default_strategy'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl.rb:20:in `Factory'
./spec/controllers/comments_controller_spec.rb:18:
39)
SocketError in 'CommentsController referrals comments creating a referral comment should send an email to patient'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
/Users/goyox86/Code/CareShare/app/models/referral.rb:109:in `send_sharegroup_invite'
/Users/goyox86/Code/CareShare/app/models/referral.rb:96:in `have_a_sharegroup?'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:17:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:155:in `aasm_fire_event'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:53:in `send_referral!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2594:in `save_without_validation!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1100:in `save_without_dirty!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/proxy/create.rb:6:in `result'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:330:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:273:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `default_strategy'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl.rb:20:in `Factory'
./spec/controllers/comments_controller_spec.rb:18:
40)
SocketError in 'CommentsController referrals comments creating a referral comment should send an email to referrer'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
/Users/goyox86/Code/CareShare/app/models/referral.rb:109:in `send_sharegroup_invite'
/Users/goyox86/Code/CareShare/app/models/referral.rb:96:in `have_a_sharegroup?'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:17:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:155:in `aasm_fire_event'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:53:in `send_referral!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2594:in `save_without_validation!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1100:in `save_without_dirty!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/proxy/create.rb:6:in `result'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:330:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:273:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `default_strategy'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl.rb:20:in `Factory'
./spec/controllers/comments_controller_spec.rb:18:
41)
SocketError in 'CommentsController referrals comments creating a referral comment should not create a comment without required fields'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
/Users/goyox86/Code/CareShare/app/models/referral.rb:109:in `send_sharegroup_invite'
/Users/goyox86/Code/CareShare/app/models/referral.rb:96:in `have_a_sharegroup?'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:17:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:155:in `aasm_fire_event'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:53:in `send_referral!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2594:in `save_without_validation!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1100:in `save_without_dirty!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/proxy/create.rb:6:in `result'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:330:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:273:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `default_strategy'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl.rb:20:in `Factory'
./spec/controllers/comments_controller_spec.rb:18:
42)
SocketError in 'CommentsController scan comments deleting a scan comment should delete a comment'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
/Users/goyox86/Code/CareShare/app/models/referral.rb:109:in `send_sharegroup_invite'
/Users/goyox86/Code/CareShare/app/models/referral.rb:96:in `have_a_sharegroup?'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:17:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:155:in `aasm_fire_event'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:53:in `send_referral!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2594:in `save_without_validation!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1100:in `save_without_dirty!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/proxy/create.rb:6:in `result'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:330:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:273:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `default_strategy'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl.rb:20:in `Factory'
./spec/controllers/comments_controller_spec.rb:18:
43)
SocketError in 'CommentsController scan comments creating a scan comment should create a comment with required fields'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
/Users/goyox86/Code/CareShare/app/models/referral.rb:109:in `send_sharegroup_invite'
/Users/goyox86/Code/CareShare/app/models/referral.rb:96:in `have_a_sharegroup?'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:17:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:155:in `aasm_fire_event'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:53:in `send_referral!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2594:in `save_without_validation!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1100:in `save_without_dirty!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/proxy/create.rb:6:in `result'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:330:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:273:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `default_strategy'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl.rb:20:in `Factory'
./spec/controllers/comments_controller_spec.rb:18:
44)
SocketError in 'CommentsController scan comments creating a scan comment should not create a scan comment without required fields'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
/Users/goyox86/Code/CareShare/app/models/referral.rb:109:in `send_sharegroup_invite'
/Users/goyox86/Code/CareShare/app/models/referral.rb:96:in `have_a_sharegroup?'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:17:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:155:in `aasm_fire_event'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:53:in `send_referral!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2594:in `save_without_validation!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1100:in `save_without_dirty!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/proxy/create.rb:6:in `result'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:330:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:273:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `default_strategy'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl.rb:20:in `Factory'
./spec/controllers/comments_controller_spec.rb:18:
45)
SocketError in 'CommentsController scan comments creating a scan comment should send an email to patient'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
/Users/goyox86/Code/CareShare/app/models/referral.rb:109:in `send_sharegroup_invite'
/Users/goyox86/Code/CareShare/app/models/referral.rb:96:in `have_a_sharegroup?'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:17:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:155:in `aasm_fire_event'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:53:in `send_referral!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2594:in `save_without_validation!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1100:in `save_without_dirty!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/proxy/create.rb:6:in `result'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:330:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:273:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `default_strategy'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl.rb:20:in `Factory'
./spec/controllers/comments_controller_spec.rb:18:
46)
SocketError in 'CommentsController scan comments creating a scan comment should send an email to uploader'
getaddrinfo: nodename nor servname provided, or not known
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/right_http_connection-1.3.0/lib/net_fix.rb:129:in `request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty/request.rb:69:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:390:in `perform_request'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:358:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/httparty-0.7.7/lib/httparty.rb:426:in `post'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:49:in `create_url'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/firefly-client-0.4.0/lib/firefly/client.rb:31:in `shorten'
/Users/goyox86/Code/CareShare/lib/crshr.rb:12:in `post'
/Users/goyox86/Code/CareShare/lib/crshr.rb:16:in `get_short_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:202:in `get_url'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:154:in `sharegroup_inviting_org_manager'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `__send__'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:459:in `create!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:452:in `initialize'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `new'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/actionmailer-2.3.10/lib/action_mailer/base.rb:394:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:218:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `send'
/Users/goyox86/Code/CareShare/app/models/mailer.rb:208:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `send'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:140:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/Users/goyox86/Code/CareShare/app/models/sharegroup_invite.rb:139:in `email_managers'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2577:in `save_without_validation'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1090:in `save_without_dirty'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:79:in `save_without_transactions'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:196:in `save'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:727:in `create'
/Users/goyox86/Code/CareShare/app/models/referral.rb:109:in `send_sharegroup_invite'
/Users/goyox86/Code/CareShare/app/models/referral.rb:96:in `have_a_sharegroup?'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/state_transition.rb:13:in `perform'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:17:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/event.rb:15:in `fire'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:155:in `aasm_fire_event'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/aasm-2.2.0/lib/aasm/aasm.rb:53:in `send_referral!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:178:in `evaluate_method'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:166:in `call'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:93:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `each'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:92:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activesupport-2.3.10/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:344:in `callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:267:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/callbacks.rb:250:in `create_or_update'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/base.rb:2594:in `save_without_validation!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/validations.rb:1100:in `save_without_dirty!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction_without_callback'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/after_commit-1.0.8/lib/after_commit/connection_adapters.rb:12:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:182:in `transaction'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/activerecord-2.3.10/lib/active_record/transactions.rb:200:in `save!'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/proxy/create.rb:6:in `result'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:330:in `run'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:273:in `create'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `send'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:304:in `default_strategy'
/Users/goyox86/.rvm/gems/ruby-1.8.7-p334@care/gems/factory_girl-1.3.3/lib/factory_girl.rb:20:in `Factory'
./spec/controllers/comments_controller_spec.rb:18:
Finished in 412.82659 seconds
453 examples, 46 failures, 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/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