Skip to content

Instantly share code, notes, and snippets.

@timsegraves
Created July 30, 2012 18:27
Show Gist options
  • Save timsegraves/3208945 to your computer and use it in GitHub Desktop.
Save timsegraves/3208945 to your computer and use it in GitHub Desktop.
Test failures
Failures:
1) Testable::ApidController should return a successful response
Failure/Error: get '/testable/apid'
Errno::ECONNREFUSED:
Connection refused - connect(2)
# ./lib/apid/old_apid.rb:16:in `request'
# ./lib/apid/generic_apid.rb:11:in `generic'
# ./app/controllers/testable/apid_controller.rb:3:in `index'
# ./config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets'
# ./spec/acceptance/apid_acceptance_spec.rb:5:in `block (2 levels) in <top (required)>'
2) Testable::MemcacheController should be able to talk to memcached
Failure/Error: get '/testable/memcache'
NameError:
uninitialized constant MemCache
# ./app/controllers/testable/memcache_controller.rb:4:in `index'
# ./config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets'
# ./spec/acceptance/memcache_acceptance_spec.rb:7:in `block (2 levels) in <top (required)>'
3) AccountController should return success on global-settings
Failure/Error: get :global_settings
NoMethodError:
undefined method `[]' for nil:NilClass
# ./app/models/apid.rb:18:in `method_missing'
# ./app/controllers/account_controller.rb:21:in `global_settings'
# ./spec/controllers/account_controller_spec.rb:43:in `block (2 levels) in <top (required)>'
4) UnsubscribeCategoriesController should return response when subscription tracking is enabled
Failure/Error: post :create, format: :json
NoMethodError:
undefined method `[]' for nil:NilClass
# ./app/models/apid.rb:18:in `method_missing'
# ./app/controllers/unsubscribe_categories_controller.rb:37:in `validate_st_enabled'
# ./spec/controllers/unsubscribe_categories_controller_spec.rb:20:in `block (2 levels) in <top (required)>'
5) UnsubscribeCategoriesController should return 404 when subscription tracking is not enabled
Failure/Error: post :create, format: :json
NoMethodError:
undefined method `[]' for nil:NilClass
# ./app/models/apid.rb:18:in `method_missing'
# ./app/controllers/unsubscribe_categories_controller.rb:37:in `validate_st_enabled'
# ./spec/controllers/unsubscribe_categories_controller_spec.rb:26:in `block (2 levels) in <top (required)>'
6) AccountController global-settings should render
Failure/Error: visit global_settings_path
NoMethodError:
undefined method `[]' for nil:NilClass
# ./app/models/apid.rb:18:in `method_missing'
# ./app/controllers/account_controller.rb:21:in `global_settings'
# ./config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets'
# ./spec/requests/account_request_spec.rb:20:in `block (3 levels) in <top (required)>'
7) AccountController global-settings should show warning if more than 1000 categories
Failure/Error: visit global_settings_path
NoMethodError:
undefined method `[]' for nil:NilClass
# ./app/models/apid.rb:18:in `method_missing'
# ./app/controllers/account_controller.rb:21:in `global_settings'
# ./config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets'
# ./spec/requests/account_request_spec.rb:27:in `block (3 levels) in <top (required)>'
8) AccountController global-settings should show warning if subscription tracking is not enabled
Failure/Error: visit global_settings_path
NoMethodError:
undefined method `[]' for nil:NilClass
# ./app/models/apid.rb:18:in `method_missing'
# ./app/controllers/account_controller.rb:21:in `global_settings'
# ./config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets'
# ./spec/requests/account_request_spec.rb:34:in `block (3 levels) in <top (required)>'
9) AccountController global-settings should not show warning if subscription tracking is enabled
Failure/Error: visit global_settings_path
NoMethodError:
undefined method `[]' for nil:NilClass
# ./app/models/apid.rb:18:in `method_missing'
# ./app/controllers/account_controller.rb:21:in `global_settings'
# ./config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets'
# ./spec/requests/account_request_spec.rb:41:in `block (3 levels) in <top (required)>'
10) users controller related request tests using the user dashboard (show) page suspend a user suspends a user and stores an admin note
Failure/Error: page.should have_content('User was suspended')
expected there to be content "User was suspended" in "SendGrid Admin\n\n\n\n\n\n\n\n\n\n\n\nUsers\n\nUsers\nAdmin Notes\n\n\n\nEmail\n\nSend Tester\n\n\n\nServers\n\nComing Soon\n\n\n\nBilling\n\nComing Soon\n\n\n\nCompliance\n\nTunable Parameters\nPunitive Sources\n\n\n\n\nuser802\n\n\nProfile\n\nSign out\n\n\n\n\n\n\n\n\n\n\n\n\n\n×\nApid does not seem to be running. Please double check and try again\n\n\n\n\nBasic Info - user803 (83882)\n\n\n Username\n Email\n First name\n Last name\n Phone\n Website\nCompany\n Address\nAddress2\n City\n State\n Zip\n\n\n\n\nCancel\n\n\n\n\n\n\n\n\n\n\nName:\nJohn Doe\nPhone:\n303.303.3030\nEmail:\n\nemail804@tester.com\n\nWebsite:\n\nhttp://example.com\n\nWhitelabel:\nsendgrid.com\nStatus:\n\nActive\n\nAddress:\n\n\n\n1065 N Pacificenter Drive\n\nAnaheim,\nCA\n92806\nUSA\n\n\n\nSignup Date:\n2012-01-01 00:00:00 UTC\n\nN/A\nreputation\n\n\n\n\n\nNo Subusers\n\n\n\n\nEdit User\n\n\n\n\n\nEdit Permissions\n\n\nReset Password\n\n\nAdd a Note\n\n\n\nEdit Whitelabel Settings\n\n\n\n\nActions\n\n\n\nLogin\n\n\nSplunk\n\n\nNotes\n\n\n\n\n\nWarn User\n\n\n\n\n\nSuspend User\n\n\nDeactivate User\n\n\nBan User\n\n\nDisable Auto Ban\n\n\n\n\n\n\n\n\n\n×\nEdit Permissions\n\n\nAccount Activated\nWebsite Access\n\n\nClose\n\n\n\n\n\n\n\n×\nChange Password\n\n\nPassword\nPassword confirmation\n\n\nClose\n\n\n\n\n\n\n\n×\nEdit Whitelabel Settings\n\n\n Whitelabel domain\n\n\nClose\n\n\n\n\n\n\n\n×\nWarn User\n\n\nThis will send a user an abuse warning. The user will be suspended after 48 hours. Sub-users will not be sent a warning ticket.\n\nReason:\n\nsuspend action\n\n\nSource:\n\nSuspicious Held ItemsKamta Queue ItemsAbuse@ emailZendesk Spam ReportSNDSLimestoneSoftlayerRackspaceAuto-Suspend: Bounce RateAuto-Suspend: Exceed Plan VolumeAuto-Suspend: ISP ThrottlingAuto-Suspend: Invalid EmailAuto-Suspend: Complaint RateOther\n\nOptions:\nNo auto roll\nCreate ticket\nInclude sub users\n\n\n\nClose\n\n\nWarn User\n\n\n\n\n\n\n\n\n×\nSuspend User\n\n\nThis will prevent this user's mail from being delivered. Incoming mail will still be accepted.\n\nReason:\n\nsuspend action\n\n\nSource:\n\nSuspicious Held ItemsKamta Queue ItemsAbuse@ emailZendesk Spam ReportSNDSLimestoneSoftlayerRackspaceAuto-Suspend: Bounce RateAuto-Suspend: Exceed Plan VolumeAuto-Suspend: ISP ThrottlingAuto-Suspend: Invalid EmailAuto-Suspend: Complaint RateOther\n\nOptions:\nNo auto roll\nCreate ticket\nInclude sub users\n\n\n\nClose\n\n\nSuspend User\n\n\n\n\n\n\n\n\n×\nDeactivate User\n\n\nThis will deactivate a user. This will cause any future emails to be rejected and current queued mail to be deleted. The user will be banned after 48 hours. The user is notified of this action.\n\nReason:\n\nsuspend action\n\n\nSource:\n\nSuspicious Held ItemsKamta Queue ItemsAbuse@ emailZendesk Spam ReportSNDSLimestoneSoftlayerRackspaceAuto-Suspend: Bounce RateAuto-Suspend: Exceed Plan VolumeAuto-Suspend: ISP ThrottlingAuto-Suspend: Invalid EmailAuto-Suspend: Complaint RateOther\n\nOptions:\nNo auto roll\nCreate ticket\nInclude sub users\n\n\n\nClose\n\n\nDeactivate User\n\n\n\n\n\n\n\n\n×\nBan User\n\n\nThis will ban a user which causes all incoming mail to be rejected, currently queued mail to be deleted, website access to be removed, billing cancelled, and all assigned IPs to be removed.\n\nReason:\n\nsuspend action\n\n\nSource:\n\nSuspicious Held ItemsKamta Queue ItemsAbuse@ emailZendesk Spam ReportSNDSLimestoneSoftlayerRackspaceAuto-Suspend: Bounce RateAuto-Suspend: Exceed Plan VolumeAuto-Suspend: ISP ThrottlingAuto-Suspend: Invalid EmailAuto-Suspend: Complaint RateOther\n\nOptions:\nNo auto roll\nCreate ticket\nInclude sub users\nBilling\n\n\n\nClose\n\n\nBan User\n\n\n\n\n\n\n\n\n×\nAdd Note\n\n\n\n\n\n Agent notes\n\n\n\n\nCancel\nSubmit\n\n\n\n\n\n\n\n\n\n\nPackage Info\n\n\nIs reseller\nSubusers limit\nPackage group\nReturn Path customer\n\n\n\n\nCancel\n\n\n\n\n\n\n\n\n\n\nPackage:\nFree\nBilling Status:\nActive Account\nPackage Group:\nNone (Default)\nReseller Enabled:\n✖\nSubuser Limit:\n5\nReturn Path Cust:\n✖\n\n\n\n\nEdit Package Info\n\n\n\n\n\n\n\n\n\n\n\nIPs\nIP\nrDNS\nOwner\nActive\nLocation\nCooldown\n10.0.0.45\n\nn/a\n\n\nuser803\n\n\nYes\n\nproxy1.sendgrid.net\n\nCooldown\n\nAdd IP\n\n\n\n\n\n\n\n\nBounce Settings\n\nPreserve Sender\nForward Address\nForward Bounces\nForward Blocks\nSoft Purge\nHard Purge\nIgnore Suppression\nBypass Spam Check\n\n\n\n\nCancel\n\n\n\n\n\n\n\n\n\n\nBounce Settings\nPreserve Sender:\n✖\nForward Address:\ntest@example.com\nForward Bounces:\n✖\nForward Blocks:\n✖\nSoft Purge:\n20\nHard Purge:\n7\nIgnore Suppression:\n✖\nBypass Spam Check:\n✖\n\n\n\n\nEdit Bounce\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nDate Range\n\n\n\nOne Month\n\n\nThree Months\n\n\nSix Months\n\n\nOne Year\n\n\n\n\n\nSwitch View\n\n\n\nStats\n\n\n\n\nDate\nRequests\nDelivered\nClicks\nUnique Clicks\nOpens\nUnique Opens\nUnsubs.\n\n\nUnsubs.\n\nBounces\n\n\nBounces\n\nInvalids\nInvalid Domains\nSpams\n\n\nSpams\n\nBlocked\n07-29\n\n32\n\n\n15\n(47%)\n\n\n9\n(60%)\n\n\n7\n(47%)\n\n\n14\n(93%)\n\n\n6\n(40%)\n\n\n3\n(20%)\n\n\n2\n(6%)\n\n\n3\n(9%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n\n0\n(0%)\n\n\n4\n(27%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n07-28\n\n32\n\n\n15\n(47%)\n\n\n9\n(60%)\n\n\n7\n(47%)\n\n\n14\n(93%)\n\n\n6\n(40%)\n\n\n3\n(20%)\n\n\n2\n(6%)\n\n\n3\n(9%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n\n0\n(0%)\n\n\n4\n(27%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n07-27\n\n32\n\n\n15\n(47%)\n\n\n9\n(60%)\n\n\n7\n(47%)\n\n\n14\n(93%)\n\n\n6\n(40%)\n\n\n3\n(20%)\n\n\n2\n(6%)\n\n\n3\n(9%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n\n0\n(0%)\n\n\n4\n(27%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n07-26\n\n32\n\n\n15\n(47%)\n\n\n9\n(60%)\n\n\n7\n(47%)\n\n\n14\n(93%)\n\n\n6\n(40%)\n\n\n3\n(20%)\n\n\n2\n(6%)\n\n\n3\n(9%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n\n0\n(0%)\n\n\n4\n(27%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n07-25\n\n32\n\n\n15\n(47%)\n\n\n9\n(60%)\n\n\n7\n(47%)\n\n\n14\n(93%)\n\n\n6\n(40%)\n\n\n3\n(20%)\n\n\n2\n(6%)\n\n\n3\n(9%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n\n0\n(0%)\n\n\n4\n(27%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n\n\nNo Data\nThere is currently no statistics data for this user\n\n\n\n\n\n\n\n\nParse\n\n\n\n\n\nQueues\n\n\n\n\n\n\n\n© 2012 SendGrid\n\n //<![CDATA[\n var _gaq = _gaq || [];\n _gaq.push(['_setAccount', 'UA-12399264-12']);\n _gaq.push(['_trackPageview']);\n (function() {\n var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;\n ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\n })();\n //]]>\n"
# ./spec/requests/admin/users_spec.rb:340:in `block (4 levels) in <top (required)>'
11) users controller related request tests using the user dashboard (show) page suspend a user suspends an active user with "No Auto Roll" enabled
Failure/Error: page.should have_content('User was suspended')
expected there to be content "User was suspended" in "SendGrid Admin\n\n\n\n\n\n\n\n\n\n\n\nUsers\n\nUsers\nAdmin Notes\n\n\n\nEmail\n\nSend Tester\n\n\n\nServers\n\nComing Soon\n\n\n\nBilling\n\nComing Soon\n\n\n\nCompliance\n\nTunable Parameters\nPunitive Sources\n\n\n\n\nuser804\n\n\nProfile\n\nSign out\n\n\n\n\n\n\n\n\n\n\n\n\n\n×\nApid does not seem to be running. Please double check and try again\n\n\n\n\nBasic Info - user805 (83884)\n\n\n Username\n Email\n First name\n Last name\n Phone\n Website\nCompany\n Address\nAddress2\n City\n State\n Zip\n\n\n\n\nCancel\n\n\n\n\n\n\n\n\n\n\nName:\nJohn Doe\nPhone:\n303.303.3030\nEmail:\n\nemail806@tester.com\n\nWebsite:\n\nhttp://example.com\n\nWhitelabel:\nsendgrid.com\nStatus:\n\nActive\n\nAddress:\n\n\n\n1065 N Pacificenter Drive\n\nAnaheim,\nCA\n92806\nUSA\n\n\n\nSignup Date:\n2012-01-01 00:00:00 UTC\n\nN/A\nreputation\n\n\n\n\n\nNo Subusers\n\n\n\n\nEdit User\n\n\n\n\n\nEdit Permissions\n\n\nReset Password\n\n\nAdd a Note\n\n\n\nEdit Whitelabel Settings\n\n\n\n\nActions\n\n\n\nLogin\n\n\nSplunk\n\n\nNotes\n\n\n\n\n\nWarn User\n\n\n\n\n\nSuspend User\n\n\nDeactivate User\n\n\nBan User\n\n\nDisable Auto Ban\n\n\n\n\n\n\n\n\n\n×\nEdit Permissions\n\n\nAccount Activated\nWebsite Access\n\n\nClose\n\n\n\n\n\n\n\n×\nChange Password\n\n\nPassword\nPassword confirmation\n\n\nClose\n\n\n\n\n\n\n\n×\nEdit Whitelabel Settings\n\n\n Whitelabel domain\n\n\nClose\n\n\n\n\n\n\n\n×\nWarn User\n\n\nThis will send a user an abuse warning. The user will be suspended after 48 hours. Sub-users will not be sent a warning ticket.\n\nReason:\n\nsuspend User\n\n\nSource:\n\nSuspicious Held ItemsKamta Queue ItemsAbuse@ emailZendesk Spam ReportSNDSLimestoneSoftlayerRackspaceAuto-Suspend: Bounce RateAuto-Suspend: Exceed Plan VolumeAuto-Suspend: ISP ThrottlingAuto-Suspend: Invalid EmailAuto-Suspend: Complaint RateOther\n\nOptions:\nNo auto roll\nCreate ticket\nInclude sub users\n\n\n\nClose\n\n\nWarn User\n\n\n\n\n\n\n\n\n×\nSuspend User\n\n\nThis will prevent this user's mail from being delivered. Incoming mail will still be accepted.\n\nReason:\n\nsuspend User\n\n\nSource:\n\nSuspicious Held ItemsKamta Queue ItemsAbuse@ emailZendesk Spam ReportSNDSLimestoneSoftlayerRackspaceAuto-Suspend: Bounce RateAuto-Suspend: Exceed Plan VolumeAuto-Suspend: ISP ThrottlingAuto-Suspend: Invalid EmailAuto-Suspend: Complaint RateOther\n\nOptions:\nNo auto roll\nCreate ticket\nInclude sub users\n\n\n\nClose\n\n\nSuspend User\n\n\n\n\n\n\n\n\n×\nDeactivate User\n\n\nThis will deactivate a user. This will cause any future emails to be rejected and current queued mail to be deleted. The user will be banned after 48 hours. The user is notified of this action.\n\nReason:\n\nsuspend User\n\n\nSource:\n\nSuspicious Held ItemsKamta Queue ItemsAbuse@ emailZendesk Spam ReportSNDSLimestoneSoftlayerRackspaceAuto-Suspend: Bounce RateAuto-Suspend: Exceed Plan VolumeAuto-Suspend: ISP ThrottlingAuto-Suspend: Invalid EmailAuto-Suspend: Complaint RateOther\n\nOptions:\nNo auto roll\nCreate ticket\nInclude sub users\n\n\n\nClose\n\n\nDeactivate User\n\n\n\n\n\n\n\n\n×\nBan User\n\n\nThis will ban a user which causes all incoming mail to be rejected, currently queued mail to be deleted, website access to be removed, billing cancelled, and all assigned IPs to be removed.\n\nReason:\n\nsuspend User\n\n\nSource:\n\nSuspicious Held ItemsKamta Queue ItemsAbuse@ emailZendesk Spam ReportSNDSLimestoneSoftlayerRackspaceAuto-Suspend: Bounce RateAuto-Suspend: Exceed Plan VolumeAuto-Suspend: ISP ThrottlingAuto-Suspend: Invalid EmailAuto-Suspend: Complaint RateOther\n\nOptions:\nNo auto roll\nCreate ticket\nInclude sub users\nBilling\n\n\n\nClose\n\n\nBan User\n\n\n\n\n\n\n\n\n×\nAdd Note\n\n\n\n\n\n Agent notes\n\n\n\n\nCancel\nSubmit\n\n\n\n\n\n\n\n\n\n\nPackage Info\n\n\nIs reseller\nSubusers limit\nPackage group\nReturn Path customer\n\n\n\n\nCancel\n\n\n\n\n\n\n\n\n\n\nPackage:\nFree\nBilling Status:\nActive Account\nPackage Group:\nNone (Default)\nReseller Enabled:\n✖\nSubuser Limit:\n5\nReturn Path Cust:\n✖\n\n\n\n\nEdit Package Info\n\n\n\n\n\n\n\n\n\n\n\nIPs\nIP\nrDNS\nOwner\nActive\nLocation\nCooldown\n10.0.0.46\n\nn/a\n\n\nuser805\n\n\nYes\n\nproxy1.sendgrid.net\n\nCooldown\n\nAdd IP\n\n\n\n\n\n\n\n\nBounce Settings\n\nPreserve Sender\nForward Address\nForward Bounces\nForward Blocks\nSoft Purge\nHard Purge\nIgnore Suppression\nBypass Spam Check\n\n\n\n\nCancel\n\n\n\n\n\n\n\n\n\n\nBounce Settings\nPreserve Sender:\n✖\nForward Address:\ntest@example.com\nForward Bounces:\n✖\nForward Blocks:\n✖\nSoft Purge:\n20\nHard Purge:\n7\nIgnore Suppression:\n✖\nBypass Spam Check:\n✖\n\n\n\n\nEdit Bounce\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nDate Range\n\n\n\nOne Month\n\n\nThree Months\n\n\nSix Months\n\n\nOne Year\n\n\n\n\n\nSwitch View\n\n\n\nStats\n\n\n\n\nDate\nRequests\nDelivered\nClicks\nUnique Clicks\nOpens\nUnique Opens\nUnsubs.\n\n\nUnsubs.\n\nBounces\n\n\nBounces\n\nInvalids\nInvalid Domains\nSpams\n\n\nSpams\n\nBlocked\n07-29\n\n32\n\n\n15\n(47%)\n\n\n9\n(60%)\n\n\n7\n(47%)\n\n\n14\n(93%)\n\n\n6\n(40%)\n\n\n3\n(20%)\n\n\n2\n(6%)\n\n\n3\n(9%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n\n0\n(0%)\n\n\n4\n(27%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n07-28\n\n32\n\n\n15\n(47%)\n\n\n9\n(60%)\n\n\n7\n(47%)\n\n\n14\n(93%)\n\n\n6\n(40%)\n\n\n3\n(20%)\n\n\n2\n(6%)\n\n\n3\n(9%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n\n0\n(0%)\n\n\n4\n(27%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n07-27\n\n32\n\n\n15\n(47%)\n\n\n9\n(60%)\n\n\n7\n(47%)\n\n\n14\n(93%)\n\n\n6\n(40%)\n\n\n3\n(20%)\n\n\n2\n(6%)\n\n\n3\n(9%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n\n0\n(0%)\n\n\n4\n(27%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n07-26\n\n32\n\n\n15\n(47%)\n\n\n9\n(60%)\n\n\n7\n(47%)\n\n\n14\n(93%)\n\n\n6\n(40%)\n\n\n3\n(20%)\n\n\n2\n(6%)\n\n\n3\n(9%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n\n0\n(0%)\n\n\n4\n(27%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n07-25\n\n32\n\n\n15\n(47%)\n\n\n9\n(60%)\n\n\n7\n(47%)\n\n\n14\n(93%)\n\n\n6\n(40%)\n\n\n3\n(20%)\n\n\n2\n(6%)\n\n\n3\n(9%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n\n0\n(0%)\n\n\n4\n(27%)\n\n\n2\n(6%)\n\n\n1\n(3%)\n\n\n\nNo Data\nThere is currently no statistics data for this user\n\n\n\n\n\n\n\n\nParse\n\n\n\n\n\nQueues\n\n\n\n\n\n\n\n© 2012 SendGrid\n\n //<![CDATA[\n var _gaq = _gaq || [];\n _gaq.push(['_setAccount', 'UA-12399264-12']);\n _gaq.push(['_trackPageview']);\n (function() {\n var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;\n ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\n })();\n //]]>\n"
# ./spec/requests/admin/users_spec.rb:361:in `block (4 levels) in <top (required)>'
12) users controller related request tests using the user dashboard (show) page ban a user bans a user and stores an admin note
Failure/Error: click_button "#{punitive_action.capitalize} User"
NoMethodError:
undefined method `[]' for nil:NilClass
# ./app/models/apid.rb:18:in `method_missing'
# ./app/models/user.rb:338:in `ban'
# ./app/controllers/admin/users_controller.rb:401:in `ban_user'
# ./config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets'
# (eval):2:in `click_button'
# ./spec/requests/admin/users_spec.rb:264:in `block in save_and_add_admin_note'
# ./spec/requests/admin/users_spec.rb:260:in `save_and_add_admin_note'
# ./spec/requests/admin/users_spec.rb:435:in `block (4 levels) in <top (required)>'
13) users controller related request tests using the user dashboard (show) page ban a user bans an active user with "No Auto Roll" enabled
Failure/Error: click_button "#{punitive_action.capitalize} User"
NoMethodError:
undefined method `[]' for nil:NilClass
# ./app/models/apid.rb:18:in `method_missing'
# ./app/models/user.rb:338:in `ban'
# ./app/controllers/admin/users_controller.rb:401:in `ban_user'
# ./config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets'
# (eval):2:in `click_button'
# ./spec/requests/admin/users_spec.rb:286:in `block in punitive_action_save_user_with_no_auto_roll'
# ./spec/requests/admin/users_spec.rb:281:in `punitive_action_save_user_with_no_auto_roll'
# ./spec/requests/admin/users_spec.rb:439:in `block (4 levels) in <top (required)>'
14) users controller related request tests using the user dashboard (show) page ban a user bans a user and it's subusers
Failure/Error: click_button "#{punitive_action.capitalize} User"
NoMethodError:
undefined method `[]' for nil:NilClass
# ./app/models/apid.rb:18:in `method_missing'
# ./app/models/user.rb:338:in `ban'
# ./app/controllers/admin/users_controller.rb:401:in `ban_user'
# ./config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets'
# (eval):2:in `click_button'
# ./spec/requests/admin/users_spec.rb:244:in `block in parent_subuser_punitive_action'
# ./spec/requests/admin/users_spec.rb:239:in `parent_subuser_punitive_action'
# ./spec/requests/admin/users_spec.rb:443:in `block (4 levels) in <top (required)>'
15) UnsubscribeCategoriesController create should return count on success
Failure/Error: post unsubscribe_categories_path, category: 'Category', format: :json
NoMethodError:
undefined method `[]' for nil:NilClass
# ./app/models/apid.rb:18:in `method_missing'
# ./app/controllers/unsubscribe_categories_controller.rb:37:in `validate_st_enabled'
# ./config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets'
# ./spec/requests/unsubscribe_category_request_spec.rb:17:in `block (3 levels) in <top (required)>'
16) UnsubscribeCategoriesController create should return false on error
Failure/Error: put unsubscribe_category_path('Category'), format: :json
NoMethodError:
undefined method `[]' for nil:NilClass
# ./app/models/apid.rb:18:in `method_missing'
# ./app/controllers/unsubscribe_categories_controller.rb:37:in `validate_st_enabled'
# ./config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets'
# ./spec/requests/unsubscribe_category_request_spec.rb:23:in `block (3 levels) in <top (required)>'
17) UnsubscribeCategoriesController delete should return count on success
Failure/Error: delete unsubscribe_category_path('Category'), format: :json
NoMethodError:
undefined method `[]' for nil:NilClass
# ./app/models/apid.rb:18:in `method_missing'
# ./app/controllers/unsubscribe_categories_controller.rb:37:in `validate_st_enabled'
# ./config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets'
# ./spec/requests/unsubscribe_category_request_spec.rb:31:in `block (3 levels) in <top (required)>'
18) UnsubscribeCategoriesController delete should return false on error
Failure/Error: delete unsubscribe_category_path('Category'), format: :json
NoMethodError:
undefined method `[]' for nil:NilClass
# ./app/models/apid.rb:18:in `method_missing'
# ./app/controllers/unsubscribe_categories_controller.rb:37:in `validate_st_enabled'
# ./config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets'
# ./spec/requests/unsubscribe_category_request_spec.rb:37:in `block (3 levels) in <top (required)>'
19) UnsubscribeCategoriesController update should return 1 on success
Failure/Error: put unsubscribe_category_path('Category'), format: :json
NoMethodError:
undefined method `[]' for nil:NilClass
# ./app/models/apid.rb:18:in `method_missing'
# ./app/controllers/unsubscribe_categories_controller.rb:37:in `validate_st_enabled'
# ./config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets'
# ./spec/requests/unsubscribe_category_request_spec.rb:45:in `block (3 levels) in <top (required)>'
20) UnsubscribeCategoriesController update should return false on error
Failure/Error: put unsubscribe_category_path('Category'), format: :json
NoMethodError:
undefined method `[]' for nil:NilClass
# ./app/models/apid.rb:18:in `method_missing'
# ./app/controllers/unsubscribe_categories_controller.rb:37:in `validate_st_enabled'
# ./config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets'
# ./spec/requests/unsubscribe_category_request_spec.rb:51:in `block (3 levels) in <top (required)>'
21) WhitelabelController DNS Settings should not advance if there are error on the page
Failure/Error: click_button 'Validate and Confirm'
SocketError:
getaddrinfo: nodename nor servname provided, or not known
# ./lib/send_grid/dns.rb:65:in `check_subdomain'
# ./app/controllers/whitelabel_controller.rb:40:in `dns'
# ./config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets'
# (eval):2:in `click_button'
# ./spec/requests/whitelabel_request_spec.rb:43:in `block (3 levels) in <top (required)>'
Finished in 1 minute 12.55 seconds
526 examples, 21 failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment