Created
November 17, 2011 15:35
-
-
Save hexgnu/1373431 to your computer and use it in GitHub Desktop.
Failboat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) Admin::UsersController access is granted for social volt employees with role admin | |
Failure/Error: login_as(role) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/admin/users_controller_spec.rb:11:in `block (5 levels) in <top (required)>' | |
2) Admin::UsersController access is granted for social volt employees with role account_representative | |
Failure/Error: login_as(role) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/admin/users_controller_spec.rb:11:in `block (5 levels) in <top (required)>' | |
3) Admin::UsersController access is denied for customers with role executive | |
Failure/Error: login_as(role) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/admin/users_controller_spec.rb:23:in `block (5 levels) in <top (required)>' | |
4) Admin::UsersController access is denied for customers with role reviewer | |
Failure/Error: login_as(role) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/admin/users_controller_spec.rb:23:in `block (5 levels) in <top (required)>' | |
5) Admin::UsersController access is denied for customers with role brand_admin | |
Failure/Error: login_as(role) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/admin/users_controller_spec.rb:23:in `block (5 levels) in <top (required)>' | |
6) Admin::UsersController access is denied for customers with role user | |
Failure/Error: login_as(role) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/admin/users_controller_spec.rb:23:in `block (5 levels) in <top (required)>' | |
7) ApplicationController info_for_paper_trail logged in returns whodunnit_ip | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/application_controller_spec.rb:94:in `block (4 levels) in <top (required)>' | |
8) ApplicationController info_for_paper_trail logged in returns current brand_id | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/application_controller_spec.rb:94:in `block (4 levels) in <top (required)>' | |
9) ApplicationController info_for_paper_trail logged in returns current organization_id | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/application_controller_spec.rb:94:in `block (4 levels) in <top (required)>' | |
10) BitliesController GET show exposes an instance of Btly | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/bitly_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
11) BitliesController GET show renders show | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/bitly_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
12) BitliesController GET new exposes an instance of Btly | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/bitly_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
13) BitliesController POST create success responds with a 200 | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/bitly_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
14) BitliesController POST create success notifies user of success | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/bitly_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
15) BitliesController POST create failure renders new | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/bitly_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
16) BitliesController POST create failure notifies user of failure | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/bitly_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
17) BitliesController update success responds with a 200 | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/bitly_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
18) BitliesController update success notifies user of success | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/bitly_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
19) BitliesController update failure renders edit | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/bitly_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
20) BitliesController update failure notifies user of failure | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/bitly_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
21) BitliesController update shorten success renders a json response with the shortened url | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/bitly_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
22) BitliesController update shorten failure notifies user of failure | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/bitly_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
23) Brands::ReviewersController renders edit_multiple for a json request | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands/reviewers_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
24) BrandsController index responds with a 200 | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
25) BrandsController index exposes brands | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
26) BrandsController show responds with a 200 | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
27) BrandsController show exposes brand | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
28) BrandsController new responds with a 200 | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
29) BrandsController new exposes a new brand | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
30) BrandsController BrandsController new json renders json with an html element | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
31) BrandsController create success sets brand organization to current_organization | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
32) BrandsController create success responds with a redirect | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
33) BrandsController create success notifies user of success | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
34) BrandsController create BrandsController create success first brand in organization redirects user to create their first network | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
35) BrandsController create failure renders new | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
36) BrandsController create failure notifies user of failure | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
37) BrandsController edit exposes brand | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
38) BrandsController edit renders edit | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
39) BrandsController BrandsController edit json renders json with an html element | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
40) BrandsController update success without networks pending re authentication responds with a redirect | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
41) BrandsController update success without networks pending re authentication notifies user of success | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
42) BrandsController update success without networks pending re authentication redirects to next parameter if present | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
43) BrandsController update success with networks pending re authentication redirects to re_authenticate_networks_path | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
44) BrandsController update failure renders edit | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
45) BrandsController update failure notifies user of failure | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
46) BrandsController destroy success redirects and sets current_brand to be a brand other then the one deleted if the brand deleted was current_brand | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
47) BrandsController destroy success redirects to create a new brand if you delete the last brand in the organization | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
48) BrandsController destroy success notifies user of success | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
49) BrandsController destroy failure redirects | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
50) BrandsController destroy failure notifies user of failure | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/brands_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
51) ComplianceSettingsController GET #index exposes compliance_settings | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/compliance_settings_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
52) ComplianceSettingsController PUT #update updates current organization's compliance settings | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/compliance_settings_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
53) ComplianceSettingsController ComplianceSettingsController PUT #update failure responds with a failure message and boolean | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/compliance_settings_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
54) ComplianceSettingsController PUT #update_keywords updates current organization's blocked keywords list | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/compliance_settings_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
55) ComplianceSettingsController PUT #update_keywords updates current organization's flagged keywords list | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/compliance_settings_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
56) ComplianceSettingsController DELETE #delete_keyword json flagged deletes flagged words | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/compliance_settings_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
57) ComplianceSettingsController DELETE #delete_keyword json ComplianceSettingsController DELETE #delete_keyword json flagged success responds with success boolean | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/compliance_settings_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
58) ComplianceSettingsController DELETE #delete_keyword json ComplianceSettingsController DELETE #delete_keyword json flagged failure responds with success boolean | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/compliance_settings_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
59) ComplianceSettingsController DELETE #delete_keyword json blocked deletes blocked words | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/compliance_settings_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
60) ComplianceSettingsController DELETE #delete_keyword json ComplianceSettingsController DELETE #delete_keyword json blocked success responds with success boolean | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/compliance_settings_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
61) ComplianceSettingsController DELETE #delete_keyword json ComplianceSettingsController DELETE #delete_keyword json blocked failure responds with success boolean | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/compliance_settings_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
62) FacebooksController#setup sets session[:re_authenticating] to params[:re_authenticating] | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/facebooks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
63) FacebooksController#setup sets request.env['omniauth.strategy'].client_id to app id from FacebookNetwork.auth(current_brand) | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/facebooks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
64) FacebooksController#setup sets request.env['omniauth.strategy'].client_secret to client secret from FacebookNetwork.auth(current_brand) | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/facebooks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
65) FacebooksController#setup sets request.env['omniauth.strategy'].options[:scope] to :perms from FacebookNetwork.auth(current_brand) | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/facebooks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
66) FacebooksController#setup renders 404 | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/facebooks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
67) FacebooksController#update updates facebook network | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/facebooks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
68) FacebooksController#update redirects to networks_path | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/facebooks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
69) FacebooksController FacebooksController#update with networks requiring re-authentication redirects to re_authenticate_networks | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/facebooks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
70) FacebooksController#callback with session[:re_authenticating] == true redirects to networks_path if there are no more networks pending re authentication | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/facebooks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
71) FacebooksController#callback with session[:re_authenticating] == true redirects to re_authenticate_networks_path if there are more networks pending re authentication | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/facebooks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
72) FacebooksController#callback with session[:re_authenticating] == true resets session[:re_authenticating] to nil | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/facebooks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
73) FacebooksController#callback with params[:re_authenticating] == nil renders the callback template | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/facebooks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
74) FacebooksController#callback with params[:re_authenticating] == nil calls Facebook.identify with current brand current user, account type, Facebook id and oauth token. | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/facebooks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
75) HomeController posts exposure exposes posts | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/home_controller_spec.rb:9:in `block (3 levels) in <top (required)>' | |
76) HomeController posts exposure exposes posts newer then params[:since] if present | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/home_controller_spec.rb:9:in `block (3 levels) in <top (required)>' | |
77) HomeController posts exposure exposes posts older then params[:until] if present | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/home_controller_spec.rb:9:in `block (3 levels) in <top (required)>' | |
78) HomeController GET timeline renders timeline template | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/home_controller_spec.rb:53:in `block (3 levels) in <top (required)>' | |
79) HomeController HomeController GET timeline JSON format responds with an html key | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/home_controller_spec.rb:53:in `block (3 levels) in <top (required)>' | |
80) HomeController HomeController GET timeline JSON format responds with an new_count key when given count_only in params | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/home_controller_spec.rb:53:in `block (3 levels) in <top (required)>' | |
81) HomeController GET index redirects to timeline | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/home_controller_spec.rb:83:in `block (3 levels) in <top (required)>' | |
82) Networks::FacebookPostsController exposes since_date for pagination | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
83) Networks::FacebookPostsController GET show fetches the facebook post | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
84) Networks::FacebookPostsController GET show renders json with html key | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
85) Networks::FacebookPostsController GET index exposes the user timeline | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
86) Networks::FacebookPostsController GET index renders index | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
87) Networks::FacebookPostsController Networks::FacebookPostsController GET index format => "json" renders json with html and next_page_url keys | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
88) Networks::FacebookPostsController Networks::FacebookPostsController GET index with a network which is a page exposes the page's facebook wall | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
89) Networks::FacebookPostsController Networks::FacebookPostsController GET index Networks::FacebookPostsController Networks::FacebookPostsController GET index with a network which is a page format => "json" renders json with html and next_page_url keys | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
90) Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] wall exposes facebook wall | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
91) Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] wall renders index | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
92) Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] wall format => "json" renders json with html and next_page_url keys | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
93) Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] wall with :facebook_user_id exposes facebook user wall | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
94) Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] wall Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] wall with :facebook_user_id format => "json" renders json with html and next_page_url keys | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
95) Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:since] as json renders posts newer then params[:since] | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
96) Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:since] Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:since] as json with params[:only_count] returns a count of posts newer then params[:since] | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
97) Networks::FacebookPostsController PUT update responds with a json object with a success attribute | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
98) Networks::FacebookPostsController PUT update likes a post when passed :like => true | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
99) Networks::FacebookPostsController PUT update un-likes a post when passed :like => false | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_posts_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
100) Networks::FacebookUsersController GET index exposes users you are friends with | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_users_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
101) Networks::FacebookUsersController GET show with format => "json" exposes user | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_users_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
102) Networks::FacebookUsersController GET show with format => "json" renders json with html key | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebook_users_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
103) Networks::FacebooksController GET show redirects to facebook_posts index | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/facebooks_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
104) Networks::TwitterListsController GET index should expose your lists | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_lists_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
105) Networks::TwitterPostsController GET show displays thread of posts post was in reply to | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
106) Networks::TwitterPostsController Networks::TwitterPostsController GET show with display: retweets displays retweets | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
107) Networks::TwitterPostsController Networks::TwitterPostsController GET show format => 'json' responds with an html key | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
108) Networks::TwitterPostsController GET index with no post_type exposes the twitter timeline | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
109) Networks::TwitterPostsController GET index with no post_type renders index | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
110) Networks::TwitterPostsController GET index Networks::TwitterPostsController GET index with no post_type format json renders index in html key of json response | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
111) Networks::TwitterPostsController GET index with no post_type and params[:twitter_user_id] exposes twitter user timeline | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
112) Networks::TwitterPostsController GET index Networks::TwitterPostsController GET index with no post_type and params[:twitter_user_id] json renders user_timeline in html key of json response | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
113) Networks::TwitterPostsController GET index with no post_type and params[:list_id] exposes list timeline and passes along params[:page] | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
114) Networks::TwitterPostsController GET index Networks::TwitterPostsController GET index with no post_type and params[:list_id] json renders user_timeline in html key of json response | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
115) Networks::TwitterPostsController GET index with :post_type => mentions exposes mentions | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
116) Networks::TwitterPostsController GET index with :post_type => direct_messages exposes direct_messages | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
117) Networks::TwitterPostsController GET index with :post_type => my_posts exposes network posts | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
118) Networks::TwitterPostsController GET index with :post_type => retweets_of_me exposes retweets | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
119) Networks::TwitterPostsController GET index with :post_type => favorites exposes favorites | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
120) Networks::TwitterPostsController GET index with :post_type => search and :q => "thing" exposes searched for tweets | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
121) Networks::TwitterPostsController GET index with params[:since] as json renders posts newer then params[:since] | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
122) Networks::TwitterPostsController GET index with params[:since] Networks::TwitterPostsController GET index with params[:since] as json with params[:only_count] returns a count of posts newer then params[:since] | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
123) Networks::TwitterPostsController POST update with :retweet => true retweets the post | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
124) Networks::TwitterPostsController POST update with :retweet => true renders json with success attribute | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
125) Networks::TwitterPostsController POST update with :favorite => true favorites the post | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
126) Networks::TwitterPostsController POST update with :favorite => true renders json with success attribute | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
127) Networks::TwitterPostsController POST update with :favorite => false un-favorites the post | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
128) Networks::TwitterPostsController POST update with :favorite => false renders json with success attribute | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
129) Networks::TwitterPostsController DESTROY destroy submits a request to twitter to destroy the given post | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
130) Networks::TwitterPostsController Networks::TwitterPostsController DESTROY destroy success renders json with success boolean | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
131) Networks::TwitterPostsController Networks::TwitterPostsController DESTROY destroy failure renders json with success boolean and appropriate message in message key | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_posts_controller_spec.rb:8:in `block (2 levels) in <top (required)>' | |
132) Networks::TwitterUsersController GET show format :json responds with json containing an html key | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_users_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
133) Networks::TwitterUsersController GET index with no user_type exposes users you follow | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_users_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
134) Networks::TwitterUsersController GET index with user_type => followers exposes users who follow you | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_users_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
135) Networks::TwitterUsersController GET index with :twitter_user_id with no user_type exposes users you follow | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_users_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
136) Networks::TwitterUsersController GET index with :twitter_user_id with user_type => followers exposes users who follow you | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_users_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
137) Networks::TwitterUsersController GET index with :twitter_user_id with user_type => followers passes next_cursor to followers if params[:next_cursor] is present | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_users_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
138) Networks::TwitterUsersController GET index :format => 'json' renders a response containing an html element and a next_page_url element | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_users_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
139) Networks::TwitterUsersController PUT update with :follow => true follows the user | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_users_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
140) Networks::TwitterUsersController PUT update with :follow => true renders follow for format => json | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_users_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
141) Networks::TwitterUsersController PUT update with :follow => false unfollows the user | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_users_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
142) Networks::TwitterUsersController PUT update with :follow => false renders unfollow for format json | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitter_users_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
143) Networks::TwittersController GET show redirects to twitter_posts index | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks/twitters_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
144) NetworksController GET 'new' should be successful | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
145) NetworksController NetworksController GET 'new' as json renders json with an html attribute | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
146) NetworksController GET re_authenticate exposes networks the current user owns which require re-authentication | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
147) NetworksController GET failure should properly render omniauth failure messages in flash | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/networks_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
148) Organizations::ReportsController audit orders by Time when params[:order_by] == 'Time' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:6:in `block (3 levels) in <top (required)>' | |
149) Organizations::ReportsController audit orders by Reviewer when params[:order_by] == 'Reviewer' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:6:in `block (3 levels) in <top (required)>' | |
150) Organizations::ReportsController audit orders by Platform when params[:order_by] == 'Platform' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:6:in `block (3 levels) in <top (required)>' | |
151) Organizations::ReportsController audit orders by Account when params[:order_by] == 'Account' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:6:in `block (3 levels) in <top (required)>' | |
152) Organizations::ReportsController audit orders by Status when params[:order_by] == 'Status' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:6:in `block (3 levels) in <top (required)>' | |
153) Organizations::ReportsController audit orders by column header in direction specified by params[:order_direction] | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:6:in `block (3 levels) in <top (required)>' | |
154) Organizations::ReportsController Organizations::ReportsController audit.html renders report_table | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:6:in `block (3 levels) in <top (required)>' | |
155) Organizations::ReportsController Organizations::ReportsController audit.csv generates csv file and sends it to user | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:6:in `block (3 levels) in <top (required)>' | |
156) Organizations::ReportsController general_report orders by Time when params[:order_by] == 'Time' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:45:in `block (3 levels) in <top (required)>' | |
157) Organizations::ReportsController general_report orders by Name when params[:order_by] == 'Name' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:45:in `block (3 levels) in <top (required)>' | |
158) Organizations::ReportsController general_report orders by IP when params[:order_by] == 'IP' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:45:in `block (3 levels) in <top (required)>' | |
159) Organizations::ReportsController general_report orders by Resource when params[:order_by] == 'Resource' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:45:in `block (3 levels) in <top (required)>' | |
160) Organizations::ReportsController general_report orders by ID when params[:order_by] == 'ID' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:45:in `block (3 levels) in <top (required)>' | |
161) Organizations::ReportsController general_report orders by Status when params[:order_by] == 'Status' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:45:in `block (3 levels) in <top (required)>' | |
162) Organizations::ReportsController general_report orders by column header in direction specified by params[:order_direction] | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:45:in `block (3 levels) in <top (required)>' | |
163) Organizations::ReportsController Organizations::ReportsController general_report.html renders general_report_table | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:45:in `block (3 levels) in <top (required)>' | |
164) Organizations::ReportsController Organizations::ReportsController general_report.csv generates csv file with appropriate columns and redirects user to it | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:45:in `block (3 levels) in <top (required)>' | |
165) Organizations::ReportsController scheduled_posts_report orders by Scheduled when params[:order_by] == 'Scheduled' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:95:in `block (3 levels) in <top (required)>' | |
166) Organizations::ReportsController scheduled_posts_report orders by Message when params[:order_by] == 'Message' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:95:in `block (3 levels) in <top (required)>' | |
167) Organizations::ReportsController scheduled_posts_report orders by Platform when params[:order_by] == 'Platform' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:95:in `block (3 levels) in <top (required)>' | |
168) Organizations::ReportsController scheduled_posts_report orders by Account when params[:order_by] == 'Account' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:95:in `block (3 levels) in <top (required)>' | |
169) Organizations::ReportsController scheduled_posts_report orders by Brand when params[:order_by] == 'Brand' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:95:in `block (3 levels) in <top (required)>' | |
170) Organizations::ReportsController scheduled_posts_report orders by Author when params[:order_by] == 'Author' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:95:in `block (3 levels) in <top (required)>' | |
171) Organizations::ReportsController scheduled_posts_report orders by ID when params[:order_by] == 'ID' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:95:in `block (3 levels) in <top (required)>' | |
172) Organizations::ReportsController scheduled_posts_report orders by Status when params[:order_by] == 'Status' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:95:in `block (3 levels) in <top (required)>' | |
173) Organizations::ReportsController scheduled_posts_report orders by column header in direction specified by params[:order_direction] | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:95:in `block (3 levels) in <top (required)>' | |
174) Organizations::ReportsController scheduled_posts_report.html renders scheduled_posts_report | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:95:in `block (3 levels) in <top (required)>' | |
175) Organizations::ReportsController scheduled_posts_report.csv generates csv file and redirects user to it | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:95:in `block (3 levels) in <top (required)>' | |
176) Organizations::ReportsController get_user_info returns json containing a list of user ip addresses and networks to which the user belongs | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:151:in `block (3 levels) in <top (required)>' | |
177) Organizations::ReportsController Organizations::ReportsController get_user_info no user id returns json containing a list of user ip addresses and networks to which the user belongs | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:151:in `block (3 levels) in <top (required)>' | |
178) Organizations::ReportsController posts by status orders by Time when params[:order_by] == 'Time' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:173:in `block (3 levels) in <top (required)>' | |
179) Organizations::ReportsController posts by status orders by Author when params[:order_by] == 'Author' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:173:in `block (3 levels) in <top (required)>' | |
180) Organizations::ReportsController posts by status orders by Platform when params[:order_by] == 'Platform' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:173:in `block (3 levels) in <top (required)>' | |
181) Organizations::ReportsController posts by status orders by Account when params[:order_by] == 'Account' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:173:in `block (3 levels) in <top (required)>' | |
182) Organizations::ReportsController posts by status orders by Message when params[:order_by] == 'Message' | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:173:in `block (3 levels) in <top (required)>' | |
183) Organizations::ReportsController posts by status orders by column header in direction specified by params[:order_direction] | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:173:in `block (3 levels) in <top (required)>' | |
184) Organizations::ReportsController Organizations::ReportsController posts by status.html renders report_table | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:173:in `block (3 levels) in <top (required)>' | |
185) Organizations::ReportsController Organizations::ReportsController posts by status.csv generates csv file and sends it to user | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations/reports_controller_spec.rb:173:in `block (3 levels) in <top (required)>' | |
186) OrganizationsController#index action gets all organizations | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:10:in `block (3 levels) in <top (required)>' | |
187) OrganizationsController#index action exposes organizations | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:10:in `block (3 levels) in <top (required)>' | |
188) OrganizationsController#index action exposes organization count | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:10:in `block (3 levels) in <top (required)>' | |
189) OrganizationsController#new action instantiates Organization | |
Failure/Error: before(:each) {login_as(:executive)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:35:in `block (3 levels) in <top (required)>' | |
190) OrganizationsController#new action renders new | |
Failure/Error: before(:each) {login_as(:executive)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:35:in `block (3 levels) in <top (required)>' | |
191) OrganizationsController#new action builds Organization users | |
Failure/Error: before(:each) {login_as(:executive)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:35:in `block (3 levels) in <top (required)>' | |
192) OrganizationsController OrganizationsController#new action format :json responds with json containing an html element | |
Failure/Error: before(:each) {login_as(:executive)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:35:in `block (3 levels) in <top (required)>' | |
193) OrganizationsController#create action exposes organization | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:64:in `block (3 levels) in <top (required)>' | |
194) OrganizationsController#create action creates a new Organization | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:64:in `block (3 levels) in <top (required)>' | |
195) OrganizationsController#create action saves the new organization | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:64:in `block (3 levels) in <top (required)>' | |
196) OrganizationsController OrganizationsController#create action when organization is successfully created and saved notifies the executive | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:64:in `block (3 levels) in <top (required)>' | |
197) OrganizationsController OrganizationsController#create action when organization is successfully created and saved redirects to organization_url | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:64:in `block (3 levels) in <top (required)>' | |
198) OrganizationsController OrganizationsController#create action when organization is not successfully created and saved the #new template is rendered | |
Failure/Error: login_as(:executive) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:64:in `block (3 levels) in <top (required)>' | |
199) OrganizationsController#edit renders edit | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:111:in `block (3 levels) in <top (required)>' | |
200) OrganizationsController OrganizationsController#edit format :json responds with json containing an html element | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:111:in `block (3 levels) in <top (required)>' | |
201) OrganizationsController#update without networks pending re_authenticate finds the organization by ID | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:130:in `block (3 levels) in <top (required)>' | |
202) OrganizationsController#update without networks pending re_authenticate#update updates the organization | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:130:in `block (3 levels) in <top (required)>' | |
203) OrganizationsController#update without networks pending re_authenticate redirects to edit organization page | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:130:in `block (3 levels) in <top (required)>' | |
204) OrganizationsController#update with networks pending re authentication redirects to re_authenticate_networks_path | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/organizations_controller_spec.rb:130:in `block (3 levels) in <top (required)>' | |
205) PasswordsController redirects to root if user is not found | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/controllers/passwords_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
206) PasswordsController with params[:email] exposes user | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/controllers/passwords_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
207) PasswordsController with params[:random_token] exposes user by random_token | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/controllers/passwords_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
208) PasswordsController#create finds the user by email | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/controllers/passwords_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
209) PasswordsController#create delivers password reset instructions | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/controllers/passwords_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
210) PasswordsController PasswordsController#create when user can't be found should alert the user | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/controllers/passwords_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
211) PasswordsController PasswordsController#create when user can't be found redirects to referrer | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/controllers/passwords_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
212) PasswordsController#update when successful activates user in pending state | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/controllers/passwords_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
213) PasswordsController#update when successful updates existing user | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/controllers/passwords_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
214) PasswordsController#get_user finds the user by random token | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/controllers/passwords_controller_spec.rb:7:in `block (2 levels) in <top (required)>' | |
215) PostCommentsController index responds with a 200 | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
216) PostCommentsController index exposes post_comments | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
217) PostCommentsController json new responds with a 200 | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
218) PostCommentsController json new exposes a new post_comment | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
219) PostCommentsController json new responds with json containing an html element | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
220) PostCommentsController json create success sets post_comment post to the post's id | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
221) PostCommentsController json create success sets post_comment user to the current_user's id | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
222) PostCommentsController json create success responds with json with success, message, and comment keys | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
223) PostCommentsController json create success does not set flash[:notice] | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
224) PostCommentsController json create failure responds with json with a success, message, and html key | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
225) PostCommentsController json create failure does not set flash[:notice] | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
226) PostCommentsController json update success responds with json with a success key and message keys | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
227) PostCommentsController json update success does not set flash[:notice] | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
228) PostCommentsController json update failure responds with json with success and message keys | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
229) PostCommentsController json update failure does not set flash[:notice] | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
230) PostCommentsController json destroy success responds with json which includes success and message keys | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
231) PostCommentsController json destroy success does not set flash[:notice] | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
232) PostCommentsController json destroy failure responds with json which includes success and message keys | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
233) PostCommentsController json destroy failure does not set flash[:notice] | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_comments_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
234) PostReviewsController moderating 'POST' approve notifies the user when successful | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_reviews_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
235) PostReviewsController moderating 'POST' approve alerts of failure | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_reviews_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
236) PostReviewsController moderating 'POST' deny calls post.reset_status! if params[:reset_status] is set to true and post has been approved | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_reviews_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
237) PostReviewsController moderating 'POST' deny does not call post.reset_status! if params[:reset_status] is set to true and post has not been approved | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_reviews_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
238) PostReviewsController moderating 'POST' deny notifies the user when successful | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_reviews_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
239) PostReviewsController moderating 'POST' deny alerts of faiure | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/post_reviews_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
240) PostsController GET new assigns a new post as post | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
241) PostsController PostsController GET new format :json responds with json with html key containing form | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
242) PostsController GET edit assigns a new post as post | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
243) PostsController PostsController GET edit format :json form in html key of json response | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
244) PostsController POST update success responds with a redirect | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
245) PostsController POST update success notifies user of success | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
246) PostsController POST update failure renders edit | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
247) PostsController POST update failure notifies user of failure | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
248) PostsController POST update format json responds with success:true, message"Post updated." and html:updated_post_partial parameters | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
249) PostsController POST update PostsController POST update format json failure responds with success:false, and message:"Update failed." parameters | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
250) PostsController POST create with :via_quickpost instantiates an instance of Posts with params[:post] | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
251) PostsController POST create PostsController POST create with :via_quickpost success unsets session[:qp_status] and session[:qp_shared_image_ids] | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
252) PostsController POST create PostsController POST create with :via_quickpost with invalid params redirects back and sets session[:qp_status] and session[:qp_shared_image_ids] | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
253) PostsController POST create without :via_quickpost with valid params success redirects to session[:return_to] | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
254) PostsController POST create without :via_quickpost with valid params PostsController POST create without :via_quickpost with valid params success when post requires approval notifies the user | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
255) PostsController POST create without :via_quickpost with valid params PostsController POST create without :via_quickpost with valid params success when post is denied for containing blocked words notifies the user | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
256) PostsController POST create without :via_quickpost with valid params PostsController POST create without :via_quickpost with valid params success when post does not require approval notifies the user | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
257) PostsController POST create without :via_quickpost with valid params PostsController POST create without :via_quickpost with valid params success json when post requires approval notifies the user | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
258) PostsController POST create without :via_quickpost with valid params PostsController POST create without :via_quickpost with valid params success json when post is denied for containing blocked words notifies the user | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
259) PostsController POST create without :via_quickpost with valid params PostsController POST create without :via_quickpost with valid params success json when post does not require approval notifies the user | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
260) PostsController POST create with invalid params renders new | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
261) PostsController POST create with invalid params notifies the user of all model errors | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
262) PostsController POST create PostsController POST create with invalid params json notifies the user of all model errors | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
263) PostsController POST delete deletes post, notifies user and redirects back | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
264) PostsController PostsController POST delete format => :json responds properly when successful | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
265) PostsController PostsController POST delete format => :json responds properly when unsuccessful | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
266) PostsController deliver_notifications delivers emails to notifiable users | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
267) PostsController deliver_notifications does not deliver emails if passed false | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
268) PostsController post exposure with :via_quickpost creates an instance of Posts | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
269) PostsController post exposure without :via_quickpost creates an instance of Post | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/posts_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
270) SessionsController POST#create without networks requiring re-authentication does not create a new session for an invalid user | |
Failure/Error: @user = Factory(:user, :first_name => "Test") | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/controllers/sessions_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
271) SessionsController POST#create SessionsController POST#create without networks requiring re-authentication creates a new session for a valid user assigns session[:user_id] | |
Failure/Error: @user = Factory(:user, :first_name => "Test") | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/controllers/sessions_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
272) SessionsController POST#create with networks requiring re-authentication redirects to re_authenticate_networks_path | |
Failure/Error: @user = Factory(:user, :first_name => "Test") | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/controllers/sessions_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
273) SessionsController GET#destroy logs out the user | |
Failure/Error: @user = Factory(:user, :first_name => "Test") | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/controllers/sessions_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
274) SharedImagesController show exposes image | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/shared_images_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
275) SharedImagesController create exposes created image | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/shared_images_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
276) SharedImagesController create responds with json containing the shortened url, image id, message, and success boolean | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/shared_images_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
277) SharedImagesController SharedImagesController create failure responds with failure message | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/shared_images_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
278) StatisticsController exposures exposes facebook_rollup_stats | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/statistics_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
279) StatisticsController exposures exposes facebook_demographic_stats | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/statistics_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
280) StatisticsController StatisticsController exposures networks_by_type scopes stat_networks by network_type | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/statistics_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
281) StatisticsController args_for_stats merges params[:active_networks] into args | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/statistics_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
282) StatisticsController args_for_stats has a from_date of a week ago and a to_date of today by default | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/statistics_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
283) StatisticsController args_for_stats parses params[from_date] and to_date using chronic if present | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/statistics_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
284) StatisticsController index renders index | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/statistics_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
285) StatisticsController StatisticsController index csv renders a csv file with args_for_stats | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/statistics_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
286) StatisticsController StatisticsController index json renders a json object with facebook_rollup_stats facebook_demographic_stats and facebook_demographic_rollup_stats keys | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/statistics_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
287) TwittersController GET callback authorized authorizes the twitter credentials and creates or updates the twitter account user Twitter.identify | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/twitters_controller_spec.rb:6:in `block (3 levels) in <top (required)>' | |
288) TwittersController GET callback authorized redirects to re_authenticate_networks if additional networks require re-authentication | |
Failure/Error: login_as(:admin) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/twitters_controller_spec.rb:6:in `block (3 levels) in <top (required)>' | |
289) UsersController index responds with a 200 | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
290) UsersController index exposes users | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
291) UsersController show responds with a 200 | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
292) UsersController show exposes user | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
293) UsersController new responds with a 200 | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
294) UsersController new exposes a new user | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
295) UsersController create success responds with a redirect to the user index | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
296) UsersController create success notifies user of success | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
297) UsersController create UsersController create success with params[:organization_id] redirects to organization user index | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
298) UsersController create failure renders new | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
299) UsersController create failure notifies user of failure | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
300) UsersController update success responds with a redirect to the edit page | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
301) UsersController update success notifies user of success | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
302) UsersController update UsersController update success with params[:organization_id] redirects to organization user edit page | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
303) UsersController update failure renders edit | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
304) UsersController update failure notifies user of failure | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
305) UsersController destroy success redirects to user index | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
306) UsersController destroy success notifies user of success | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
307) UsersController destroy UsersController destroy success with params[:organization_id] redirects to organization users index | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
308) UsersController destroy failure redirects to user index | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
309) UsersController destroy failure notifies user of failure | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
310) UsersController destroy UsersController destroy failure with params[:organization_id] redirects to organization users index | |
Failure/Error: login_as(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/support/controller_macros.rb:10:in `login_as' | |
# ./spec/controllers/users_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
311) Ability as an executive should allow managing of the user's organization | |
Failure/Error: @user = Factory(:executive_user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:8:in `block (3 levels) in <top (required)>' | |
312) Ability as an executive should not allow managing of other organizations | |
Failure/Error: @user = Factory(:executive_user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:8:in `block (3 levels) in <top (required)>' | |
313) Ability as an executive should allow managing of the organization users | |
Failure/Error: @user = Factory(:executive_user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:8:in `block (3 levels) in <top (required)>' | |
314) Ability as an executive should allow managing of another organizations users | |
Failure/Error: @user = Factory(:executive_user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:8:in `block (3 levels) in <top (required)>' | |
315) Ability as an admin should allow the admin to read the Organization | |
Failure/Error: @user = Factory(:admin_user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:47:in `block (3 levels) in <top (required)>' | |
316) Ability as an admin should allow the admin to update the Organization | |
Failure/Error: @user = Factory(:admin_user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:47:in `block (3 levels) in <top (required)>' | |
317) Ability as an admin should not allow the admin to destroy the Organization | |
Failure/Error: @user = Factory(:admin_user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:47:in `block (3 levels) in <top (required)>' | |
318) Ability as an admin should allow the admin to create a new user | |
Failure/Error: @user = Factory(:admin_user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:47:in `block (3 levels) in <top (required)>' | |
319) Ability as an admin should allow the admin to create a user | |
Failure/Error: @user = Factory(:admin_user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:47:in `block (3 levels) in <top (required)>' | |
320) Ability as an admin should allow the admin to read a user | |
Failure/Error: @user = Factory(:admin_user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:47:in `block (3 levels) in <top (required)>' | |
321) Ability as an admin should allow the admin to update a user | |
Failure/Error: @user = Factory(:admin_user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:47:in `block (3 levels) in <top (required)>' | |
322) Ability as an admin should allow the admin to destory a user | |
Failure/Error: @user = Factory(:admin_user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:47:in `block (3 levels) in <top (required)>' | |
323) Ability as an admin should allow managing of another organizations users | |
Failure/Error: @user = Factory(:admin_user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:47:in `block (3 levels) in <top (required)>' | |
324) Ability as a user should be able to read the organization | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:90:in `block (3 levels) in <top (required)>' | |
325) Ability as a user should not be able to read another organization | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:90:in `block (3 levels) in <top (required)>' | |
326) Ability as a user should be able to read the user | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:90:in `block (3 levels) in <top (required)>' | |
327) Ability as a user should be able to update the user | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:90:in `block (3 levels) in <top (required)>' | |
328) Ability as a user should not be able to destory the user | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:90:in `block (3 levels) in <top (required)>' | |
329) Ability as a user should not be able to read a user in another organization | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/ability_spec.rb:90:in `block (3 levels) in <top (required)>' | |
330) Brand behaves like an object which flags networks for re-authentication when network app credentials change flags networks for re-authentication when facebook app credentials change | |
Failure/Error: subject.networks.where(:re_authenticate => true).count.should == 1 | |
expected: 1 | |
got: 0 (using ==) | |
Shared Example Group: "an object which flags networks for re-authentication when network app credentials change" called from ./spec/models/brand_spec.rb:20 | |
# ./spec/support/shared_examples/flags_networks_for_re_authentication_on_app_credential_change.rb:23:in `block (2 levels) in <top (required)>' | |
331) Brand users_by_role returns users in roles passed in | |
Failure/Error: let(:user) {Factory(:user, :organization => organization)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/brand_spec.rb:6:in `block (2 levels) in <top (required)>' | |
# ./spec/models/brand_spec.rb:36:in `block (3 levels) in <top (required)>' | |
332) Brand reviewers returns a list of brand reviewers | |
Failure/Error: let(:user) {Factory(:user, :organization => organization)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/brand_spec.rb:6:in `block (2 levels) in <top (required)>' | |
# ./spec/models/brand_spec.rb:52:in `block (3 levels) in <top (required)>' | |
333) Brand reviewer_ids= updates user_brands of users passed in to have a role of reviewer | |
Failure/Error: let(:user) {Factory(:user, :organization => organization)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/brand_spec.rb:6:in `block (2 levels) in <top (required)>' | |
# ./spec/models/brand_spec.rb:60:in `block (3 levels) in <top (required)>' | |
334) Brand reviewer_ids= updates user_brands of users not passed in to have a role of user | |
Failure/Error: let(:user) {Factory(:user, :organization => organization)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/brand_spec.rb:6:in `block (2 levels) in <top (required)>' | |
# ./spec/models/brand_spec.rb:71:in `block (3 levels) in <top (required)>' | |
335) Brand posts_to_be_reviewed returns all unapproved unmoderated posts in the networks passed in which also belong to the current brand | |
Failure/Error: @post = Factory(:post, :brand => brand, :author => Factory(:user), :network => n1) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/brand_spec.rb:103:in `block (4 levels) in <top (required)>' | |
# ./spec/models/brand_spec.rb:98:in `block (3 levels) in <top (required)>' | |
336) Brand posts_to_be_reviewed returns all unapproved unmoderated posts which belong to the current brand | |
Failure/Error: @post = Factory(:post, :brand_id => brand.id, :author => Factory(:user), :network_id => n1.id) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/brand_spec.rb:116:in `block (4 levels) in <top (required)>' | |
# ./spec/models/brand_spec.rb:115:in `block (3 levels) in <top (required)>' | |
337) Brand Security find is not granted for user | |
Failure/Error: @current_user = Factory(:user, :role => role) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:29:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/dirty.rb:61:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:14:in `first_name=' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/proxy/build.rb:20:in `set' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute/static.rb:17:in `add_to' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:61:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:58:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/methods.rb:60:in `create' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:50:in `default_strategy' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:143:in `Factory' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:90:in `block in stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `call' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `disable_grant' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:89:in `stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:140:in `block (2 levels) in assert_granted' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `instance_eval' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:48:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:306:in `block in run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:274:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/reporter.rb:12:in `report' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:21:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:80:in `run_in_process' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:66:in `rescue in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:62:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:10:in `block in autorun' | |
338) Brand Security find is not granted for executive | |
Failure/Error: @current_user = Factory(:user, :role => role) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:29:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/dirty.rb:61:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:14:in `first_name=' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/proxy/build.rb:20:in `set' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute/static.rb:17:in `add_to' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:61:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:58:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/methods.rb:60:in `create' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:50:in `default_strategy' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:143:in `Factory' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:90:in `block in stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `call' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `disable_grant' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:89:in `stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:140:in `block (2 levels) in assert_granted' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `instance_eval' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:48:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:306:in `block in run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:274:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/reporter.rb:12:in `report' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:21:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:80:in `run_in_process' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:66:in `rescue in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:62:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:10:in `block in autorun' | |
339) Brand Security find is granted for admin | |
Failure/Error: @current_user = Factory(:user, :role => role) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:29:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/dirty.rb:61:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:14:in `first_name=' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/proxy/build.rb:20:in `set' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute/static.rb:17:in `add_to' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:61:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:58:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/methods.rb:60:in `create' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:50:in `default_strategy' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:143:in `Factory' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:90:in `block in stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `call' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `disable_grant' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:89:in `stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:140:in `block (2 levels) in assert_granted' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `instance_eval' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:48:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:306:in `block in run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:274:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/reporter.rb:12:in `report' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:21:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:80:in `run_in_process' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:66:in `rescue in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:62:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:10:in `block in autorun' | |
340) Brand Security Brand Security find users who belong to the brand's organization is granted for user | |
Failure/Error: @current_user = Factory(:user, :role => role) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:29:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/dirty.rb:61:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:14:in `first_name=' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/proxy/build.rb:20:in `set' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute/static.rb:17:in `add_to' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:61:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:58:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/methods.rb:60:in `create' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:50:in `default_strategy' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:143:in `Factory' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:90:in `block in stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `call' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `disable_grant' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:89:in `stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:140:in `block (2 levels) in assert_granted' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `instance_eval' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:48:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:306:in `block in run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:274:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/reporter.rb:12:in `report' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:21:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:80:in `run_in_process' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:66:in `rescue in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:62:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:10:in `block in autorun' | |
341) Brand Security Brand Security find users who belong to the brand's organization is granted for executive | |
Failure/Error: @current_user = Factory(:user, :role => role) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:29:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/dirty.rb:61:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:14:in `first_name=' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/proxy/build.rb:20:in `set' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute/static.rb:17:in `add_to' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:61:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:58:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/methods.rb:60:in `create' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:50:in `default_strategy' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:143:in `Factory' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:90:in `block in stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `call' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `disable_grant' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:89:in `stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:140:in `block (2 levels) in assert_granted' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `instance_eval' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:48:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:306:in `block in run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:274:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/reporter.rb:12:in `report' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:21:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:80:in `run_in_process' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:66:in `rescue in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:62:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:10:in `block in autorun' | |
342) Brand Security Brand Security find users who belong to the brand's organization is granted for admin | |
Failure/Error: @current_user = Factory(:user, :role => role) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:29:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/dirty.rb:61:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:14:in `first_name=' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/proxy/build.rb:20:in `set' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute/static.rb:17:in `add_to' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:61:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:58:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/methods.rb:60:in `create' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:50:in `default_strategy' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:143:in `Factory' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:90:in `block in stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `call' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `disable_grant' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:89:in `stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:140:in `block (2 levels) in assert_granted' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `instance_eval' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:48:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:306:in `block in run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:274:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/reporter.rb:12:in `report' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:21:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:80:in `run_in_process' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:66:in `rescue in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:62:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:10:in `block in autorun' | |
343) Brand Security update is granted for user | |
Failure/Error: @current_user = Factory(:user, :role => role) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:29:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/dirty.rb:61:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:14:in `first_name=' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/proxy/build.rb:20:in `set' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute/static.rb:17:in `add_to' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:61:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:58:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/methods.rb:60:in `create' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:50:in `default_strategy' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:143:in `Factory' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:90:in `block in stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `call' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `disable_grant' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:89:in `stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:140:in `block (2 levels) in assert_granted' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `instance_eval' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:48:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:306:in `block in run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:274:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/reporter.rb:12:in `report' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:21:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:80:in `run_in_process' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:66:in `rescue in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:62:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:10:in `block in autorun' | |
344) Brand Security update is granted for executive | |
Failure/Error: @current_user = Factory(:user, :role => role) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:29:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/dirty.rb:61:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:14:in `first_name=' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/proxy/build.rb:20:in `set' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute/static.rb:17:in `add_to' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:61:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:58:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/methods.rb:60:in `create' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:50:in `default_strategy' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:143:in `Factory' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:90:in `block in stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `call' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `disable_grant' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:89:in `stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:140:in `block (2 levels) in assert_granted' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `instance_eval' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:48:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:306:in `block in run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:274:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/reporter.rb:12:in `report' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:21:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:80:in `run_in_process' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:66:in `rescue in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:62:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:10:in `block in autorun' | |
345) Brand Security update is granted for admin | |
Failure/Error: @current_user = Factory(:user, :role => role) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:29:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/dirty.rb:61:in `write_attribute' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/activerecord-3.0.10/lib/active_record/attribute_methods/write.rb:14:in `first_name=' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/proxy/build.rb:20:in `set' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute/static.rb:17:in `add_to' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:61:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/attribute_list.rb:32:in `each' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/factory.rb:58:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/methods.rb:60:in `create' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:50:in `default_strategy' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/factory_girl-2.2.0/lib/factory_girl/syntax/vintage.rb:143:in `Factory' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:90:in `block in stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `call' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:114:in `disable_grant' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:89:in `stub_grant_current_user' | |
# /Users/matthewkirk/git/studio-amplify/spec/spec_helper.rb:140:in `block (2 levels) in assert_granted' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `instance_eval' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:51:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example.rb:48:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:306:in `block in run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:302:in `run_examples' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:274:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/example_group.rb:275:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `map' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:24:in `block in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/reporter.rb:12:in `report' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:21:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:80:in `run_in_process' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:66:in `rescue in run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:62:in `run' | |
# /Users/matthewkirk/.rvm/gems/ruby-1.9.2-p290@svsecure/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:10:in `block in autorun' | |
346) DiffableVersion current_item gets version at change | |
Failure/Error: user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/diffable_version_spec.rb:21:in `block (3 levels) in <top (required)>' | |
347) DiffableVersion diff is automatically set to the same value as diff_changes before_create | |
Failure/Error: user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/diffable_version_spec.rb:36:in `block (3 levels) in <top (required)>' | |
348) DiffableVersion diff_changes diffs a given version's changes against the previous version | |
Failure/Error: user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/diffable_version_spec.rb:48:in `block (3 levels) in <top (required)>' | |
349) DiffableVersion diff_changes returns an empty hash if the item cannot be reified | |
Failure/Error: user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/diffable_version_spec.rb:61:in `block (3 levels) in <top (required)>' | |
350) DiffableVersion unique_whodunnit_ips return an array of unique ip addresses from versions belonging to the passed in user | |
Failure/Error: user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/diffable_version_spec.rb:83:in `block (3 levels) in <top (required)>' | |
351) DiffableVersion unique_whodunnit_ips return an array of unique ip addresses from versions belonging to all users if no user is passed in | |
Failure/Error: user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/diffable_version_spec.rb:94:in `block (3 levels) in <top (required)>' | |
352) FacebookNetwork with sub_type 'User'#identify adds network to brand passed | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/facebook_spec.rb:62:in `block (3 levels) in <top (required)>' | |
353) FacebookNetwork with sub_type 'User'#identify identifies the user | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/facebook_spec.rb:62:in `block (3 levels) in <top (required)>' | |
354) FacebookNetwork with sub_type 'User'#identify does not match another user | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/facebook_spec.rb:62:in `block (3 levels) in <top (required)>' | |
355) FacebookNetwork with sub_type 'User'#identify updates the token creator and parent_id if a matching network is found in the brand | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/facebook_spec.rb:62:in `block (3 levels) in <top (required)>' | |
356) FacebookNetwork with sub_type 'User'#identify assigns user to have network | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/facebook_spec.rb:62:in `block (3 levels) in <top (required)>' | |
357) FacebookNetwork with sub_type 'User' create_pages creates and attaches each page belonging to parent network to parent network | |
Failure/Error: @user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/facebook_spec.rb:62:in `block (3 levels) in <top (required)>' | |
358) FacebookNetwork#publish with a status message posts to network | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/facebook_spec.rb:218:in `block (3 levels) in <top (required)>' | |
# ./spec/models/facebook_spec.rb:221:in `block (3 levels) in <top (required)>' | |
# ./spec/models/facebook_spec.rb:232:in `block (4 levels) in <top (required)>' | |
359) FacebookNetwork#publish with a comment on a post message posts to network | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/facebook_spec.rb:218:in `block (3 levels) in <top (required)>' | |
# ./spec/models/facebook_spec.rb:221:in `block (3 levels) in <top (required)>' | |
# ./spec/models/facebook_spec.rb:239:in `block (4 levels) in <top (required)>' | |
360) FacebookNetwork#publish with a photo posts to network with an image attachment containing the url to the image | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/facebook_spec.rb:218:in `block (3 levels) in <top (required)>' | |
# ./spec/models/facebook_spec.rb:221:in `block (3 levels) in <top (required)>' | |
# ./spec/models/facebook_spec.rb:248:in `block (4 levels) in <top (required)>' | |
361) Network scopes pending_re_authentication(user) takes a user argument and returns brands belonging to that user which are pending re-authentication | |
Failure/Error: u = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/network_spec.rb:130:in `block (4 levels) in <top (required)>' | |
362) Network.all_ever returns array of readonly Network objects | |
Failure/Error: let(:post) { FactoryGirl.create(:post, network: network) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/network_spec.rb:207:in `block (3 levels) in <top (required)>' | |
# ./spec/models/network_spec.rb:208:in `block (3 levels) in <top (required)>' | |
# ./spec/models/network_spec.rb:211:in `block (3 levels) in <top (required)>' | |
363) Network.all_ever includes networks that were edited or deleted | |
Failure/Error: let(:post) { FactoryGirl.create(:post, network: network) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/network_spec.rb:207:in `block (3 levels) in <top (required)>' | |
# ./spec/models/network_spec.rb:219:in `block (3 levels) in <top (required)>' | |
364) Network.all_ever scopes to brands | |
Failure/Error: FactoryGirl.create(:post, network: another_network, brand: another_brand) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/network_spec.rb:230:in `block (3 levels) in <top (required)>' | |
365) NetworkStat NetworkStat.aggregate_stats joins on network_brands if network_brands is included in where clause | |
Failure/Error: keys = NetworkStat.aggregate_stats(:network => {:brand_id => b.id})['Facebook'].keys | |
NoMethodError: | |
undefined method `keys' for nil:NilClass | |
# ./spec/models/network_stat_spec.rb:47:in `block (3 levels) in <top (required)>' | |
366) Organization behaves like an object which flags networks for re-authentication when network app credentials change flags networks for re-authentication when facebook app credentials change | |
Failure/Error: subject.networks.where(:re_authenticate => true).count.should == 1 | |
expected: 1 | |
got: 0 (using ==) | |
Shared Example Group: "an object which flags networks for re-authentication when network app credentials change" called from ./spec/models/organization_spec.rb:41 | |
# ./spec/support/shared_examples/flags_networks_for_re_authentication_on_app_credential_change.rb:23:in `block (2 levels) in <top (required)>' | |
367) Post has_paper_trail | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:20:in `block (2 levels) in <top (required)>' | |
368) Post uses chronic to parse published_at | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:26:in `block (2 levels) in <top (required)>' | |
369) Post removes shared images from post if their shortened url does not appear in the post | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:124:in `block (2 levels) in <top (required)>' | |
370) Post scopes scheduled_posts scopes query to only include scheduled posts which have not been delivered | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:45:in `block (4 levels) in <top (required)>' | |
371) Post scopes scheduled_posts does not include posts where their associated network does not exist | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:51:in `block (4 levels) in <top (required)>' | |
372) Post scopes scheduled_posts does not include posts where their associated user does not exist | |
Failure/Error: u = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:57:in `block (4 levels) in <top (required)>' | |
373) Post scopes scheduled_posts does not include posts where their associated brand does not exist | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:64:in `block (4 levels) in <top (required)>' | |
374) Post scopes scheduled_posts does not include denied posts | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:70:in `block (4 levels) in <top (required)>' | |
375) Post scopes by_brands limits posts to brands passed | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:97:in `block (4 levels) in <top (required)>' | |
376) Post shared_image_ids= assigns given shared_images to post by their ids | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:116:in `block (3 levels) in <top (required)>' | |
377) Post in_reply_to_text= unescapes text passed in | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:146:in `block (3 levels) in <top (required)>' | |
378) Post in_reply_to fetches network post with remote_id correspondent to in_reply_to_id | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:156:in `block (3 levels) in <top (required)>' | |
379) Post originator_name returns a blank string if the post has not been changed | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:166:in `block (3 levels) in <top (required)>' | |
380) Post originator_name returns the name of the person who put the post in it's current state if post has been changed | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:170:in `block (3 levels) in <top (required)>' | |
381) Post was_flagged? returns false if a post was not flagged in the past | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:179:in `block (3 levels) in <top (required)>' | |
382) Post was_flagged? returns true if a post was flagged in the past | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:185:in `block (3 levels) in <top (required)>' | |
383) Post is_reply? returns true if in_reply_to_id is present | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:193:in `block (3 levels) in <top (required)>' | |
384) Post is_reply? returns false if in_reply_to_id is not present | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:198:in `block (3 levels) in <top (required)>' | |
385) Post posts_to_be_reviewed returns posts which have been approved or denied less then the required amount based off of compliance_setting.enforce_dual_control | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:206:in `block (3 levels) in <top (required)>' | |
386) Post posts_to_be_reviewed returns all unapproved unmoderated posts in the networks passed in which also belong to the passed in brand | |
Failure/Error: post = Factory(:post, :brand => brand, :author => Factory(:user), :network_id => n1.id) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:240:in `block (4 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:236:in `block (3 levels) in <top (required)>' | |
387) Post set_approved sets Post#approved to true if NO review level | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:251:in `block (3 levels) in <top (required)>' | |
388) Post set_approved sets Post#approved to false if ALL review level | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:258:in `block (3 levels) in <top (required)>' | |
389) Post set_approved sets Post#approved to false if Post#message contains flagged content and FLAGGED review_level | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:267:in `block (3 levels) in <top (required)>' | |
390) Post set_approved sets Post#approved to true if Post#message does not contain flagged content and review level is 'flagged' | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:277:in `block (3 levels) in <top (required)>' | |
391) Post moderated_by? returns true if post was moderated by the given user | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:285:in `block (3 levels) in <top (required)>' | |
392) Post moderated_by? returns false if post was not moderated by the given user | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:291:in `block (3 levels) in <top (required)>' | |
393) Post moderate approves post if passed true | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:297:in `block (3 levels) in <top (required)>' | |
394) Post moderate denies post if passed false | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:297:in `block (3 levels) in <top (required)>' | |
395) Post moderate only allows a give user to moderate a post once | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:297:in `block (3 levels) in <top (required)>' | |
396) Post moderated_status displays posts which were not initially flagged as Approved | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:323:in `block (3 levels) in <top (required)>' | |
397) Post moderated_status displays unmoderated posts as In review | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:323:in `block (3 levels) in <top (required)>' | |
398) Post moderated_status displays posts with blocked words as denied | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:323:in `block (3 levels) in <top (required)>' | |
399) Post moderated_status displays approved when one user approves | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:323:in `block (3 levels) in <top (required)>' | |
400) Post moderated_status displays denied when one user denies | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:323:in `block (3 levels) in <top (required)>' | |
401) Post Post moderated_status with dual control enabled displays posts which were not initially flagged as Approved | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:323:in `block (3 levels) in <top (required)>' | |
402) Post Post moderated_status with dual control enabled displays In review when one user approves | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:323:in `block (3 levels) in <top (required)>' | |
403) Post Post moderated_status with dual control enabled displays In review when one user denies | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:323:in `block (3 levels) in <top (required)>' | |
404) Post Post moderated_status with dual control enabled displays approved when two users approve and one user denies | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:323:in `block (3 levels) in <top (required)>' | |
405) Post Post moderated_status with dual control enabled displays approved when two users approve | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:323:in `block (3 levels) in <top (required)>' | |
406) Post Post moderated_status with dual control enabled displays denied when two users deny | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:323:in `block (3 levels) in <top (required)>' | |
407) Post Post moderated_status with dual control enabled displays denied when two users deny and on user approves | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:323:in `block (3 levels) in <top (required)>' | |
408) Post denied? returns true if one person denies the post | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:409:in `block (3 levels) in <top (required)>' | |
409) Post denied? returns false if user changes something other then status | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:409:in `block (3 levels) in <top (required)>' | |
410) Post Post denied? with dual control enabled returns false if only one person denies the post | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:409:in `block (3 levels) in <top (required)>' | |
411) Post Post denied? with dual control enabled returns true if two people deny the post | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:409:in `block (3 levels) in <top (required)>' | |
412) Post approved? returns true if one person approves the post | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:455:in `block (3 levels) in <top (required)>' | |
413) Post Post approved? with dual control enabled returns false if only one person approves the post | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:455:in `block (3 levels) in <top (required)>' | |
414) Post Post approved? with dual control enabled returns true if two people approve the post | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:455:in `block (3 levels) in <top (required)>' | |
415) Post flagged_words lists flagged content irrespective of word boundaries when present | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:504:in `block (3 levels) in <top (required)>' | |
416) Post flagged_words lists flagged words with symbols as flagged | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:509:in `block (3 levels) in <top (required)>' | |
417) Post flagged_words does not list flagged content when none is present | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:514:in `block (3 levels) in <top (required)>' | |
418) Post flagged? returns true if Post#message contains flagged content | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:524:in `block (3 levels) in <top (required)>' | |
419) Post flagged? returns false if Post#message does not contain flagged content | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:524:in `block (3 levels) in <top (required)>' | |
420) Post flagged? fails sets versions reason to contain flagged words when flagged | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:524:in `block (3 levels) in <top (required)>' | |
421) Post denying content against SocialVolt filth filter saves post when denied | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:551:in `block (4 levels) in <top (required)>' | |
422) Post denying content against SocialVolt filth filter sets status to Denied when brand compliance setting IS NOT zero | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:551:in `block (4 levels) in <top (required)>' | |
423) Post denying content against SocialVolt filth filter does not deny when brand compliance setting IS set to zero | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:551:in `block (4 levels) in <top (required)>' | |
424) Post denying content against custom keywords and phrases sets status to Denied when KEYWORD is included | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:580:in `block (4 levels) in <top (required)>' | |
425) Post denying content against custom keywords and phrases sets status to Denied when PHRASE is included | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:580:in `block (4 levels) in <top (required)>' | |
426) Post denying content against custom keywords and phrases sets status to Denied when a blocked word containing a symbol is included | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:580:in `block (4 levels) in <top (required)>' | |
427) Post denying content against custom keywords and phrases does not set status to Denied when no keywords or phrases are included | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:580:in `block (4 levels) in <top (required)>' | |
428) Post#set_status shows pending posts as "Pending" | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:620:in `block (3 levels) in <top (required)>' | |
429) Post#set_status shows flagged posts as "Flagged" | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:663:in `block (3 levels) in <top (required)>' | |
430) Post#set_status shows edited posts posts as "Edited" | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:670:in `block (3 levels) in <top (required)>' | |
431) Post#set_status shows approved posts as "Approved" | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:678:in `block (3 levels) in <top (required)>' | |
432) Post#set_status shows approved posts as "Approved" when brand review_level is set to "none" | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:687:in `block (3 levels) in <top (required)>' | |
433) Post#set_status shows posts denied once and then approved once as "Approved" | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:694:in `block (3 levels) in <top (required)>' | |
434) Post#set_status shows denied posts as "Denied" | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:703:in `block (3 levels) in <top (required)>' | |
435) Post#set_status shows posts approved once and then denied once as "Denied" | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:711:in `block (3 levels) in <top (required)>' | |
436) Post#set_status shows delivered posts as "Delivered" | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:721:in `block (3 levels) in <top (required)>' | |
437) Post Post#set_status post with attached images does not flag post for review if shared images are deleted after being attached | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:625:in `block (4 levels) in <top (required)>' | |
438) Post Post#set_status post with attached images flags post for review if compliance_setting is set to review none | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:633:in `block (4 levels) in <top (required)>' | |
439) Post Post#set_status post with attached images flags post for review if compliance_setting is set to review flagged even if post has no flagged content | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:642:in `block (4 levels) in <top (required)>' | |
440) Post Post#set_status post with attached images approves post when post is approved after create | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:652:in `block (4 levels) in <top (required)>' | |
441) Post#pretty_status displays status:Flagged as "In review" | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:732:in `block (3 levels) in <top (required)>' | |
442) Post#pretty_status displays all other statuses as they appear | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:738:in `block (4 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:737:in `each' | |
# ./spec/models/post_spec.rb:737:in `block (3 levels) in <top (required)>' | |
443) Post#versions sets version reason on save | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:750:in `block (3 levels) in <top (required)>' | |
444) Post#versions sets version status on save | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:750:in `block (3 levels) in <top (required)>' | |
445) Post#versions sets version network_type on save | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:750:in `block (3 levels) in <top (required)>' | |
446) Post#versions sets version network_name on save | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:750:in `block (3 levels) in <top (required)>' | |
447) Post#versions sets version network_name on save | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:750:in `block (3 levels) in <top (required)>' | |
448) Post#versions sets version whodunnit_ip on save | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:750:in `block (3 levels) in <top (required)>' | |
449) Post.posts_to_enqueue does not include unapproved posts | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:785:in `block (3 levels) in <top (required)>' | |
450) Post Post.posts_to_enqueue given an approved post includes posts created and updated within last hour | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:785:in `block (3 levels) in <top (required)>' | |
451) Post Post.posts_to_enqueue given an approved post includes posts created before last hour and updated within last hour | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:785:in `block (3 levels) in <top (required)>' | |
452) Post Post.posts_to_enqueue given an approved post includes posts scheduled any time before now and updated in last hour | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:785:in `block (3 levels) in <top (required)>' | |
453) Post Post.posts_to_enqueue given an approved post excludes published posts | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:785:in `block (3 levels) in <top (required)>' | |
454) Post Post.posts_to_enqueue given an approved post excludes posts created and updated before last hour | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:785:in `block (3 levels) in <top (required)>' | |
455) Post Post.posts_to_enqueue given an approved post excludes posts scheduled before last hour and updated before last hour | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:785:in `block (3 levels) in <top (required)>' | |
456) Post Post.posts_to_enqueue given an approved post excludes posts with a failure count >= Post.retry_limit | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:785:in `block (3 levels) in <top (required)>' | |
457) Post Post.posts_to_enqueue given an approved post excludes posts belonging to networks flagged for re-authentication | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:785:in `block (3 levels) in <top (required)>' | |
458) Post#reset_status! removes associated post_reviews | |
Failure/Error: let(:u) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:861:in `block (3 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:863:in `block (3 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:869:in `block (3 levels) in <top (required)>' | |
459) Post#reset_status! sets status to pending | |
Failure/Error: let(:u) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:861:in `block (3 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:863:in `block (3 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:874:in `block (3 levels) in <top (required)>' | |
460) Post#reset_status! sets approved to false | |
Failure/Error: let(:u) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:861:in `block (3 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:863:in `block (3 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:879:in `block (3 levels) in <top (required)>' | |
461) Post#reset_status! sets moderated_status to In Review | |
Failure/Error: let(:u) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:861:in `block (3 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:863:in `block (3 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:884:in `block (3 levels) in <top (required)>' | |
462) Post#reset_status! empties raw_response | |
Failure/Error: let(:u) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:861:in `block (3 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:863:in `block (3 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:889:in `block (3 levels) in <top (required)>' | |
463) Post#create_on_network with a Twitter network posts to network | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:899:in `block (3 levels) in <top (required)>' | |
464) Post#create_on_network Post#create_on_network with a Twitter network with a post which has a status other then Approved does not publish post | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:899:in `block (3 levels) in <top (required)>' | |
465) Post#create_on_network Post#create_on_network with a Twitter network with a post which has a moderated status other then Approved does not publish post | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:899:in `block (3 levels) in <top (required)>' | |
466) Post#create_on_network with a Facebook User network posts to network | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:899:in `block (3 levels) in <top (required)>' | |
467) Post#create_on_network Post#create_on_network with a Facebook User network with a post which has a moderated status other then Approved does not publish post | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:899:in `block (3 levels) in <top (required)>' | |
468) Post reset_status after update calls reset_status if status changes | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:962:in `block (3 levels) in <top (required)>' | |
469) Post reset_status after update calls reset_status if post.reset_status = true | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:962:in `block (3 levels) in <top (required)>' | |
470) Post reset_status after update does not call it otherwise | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:962:in `block (3 levels) in <top (required)>' | |
471) Post deliver_retry_failure_notifications does not deliver mail when post is unpublished | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:985:in `block (3 levels) in <top (required)>' | |
472) Post deliver_retry_failure_notifications delivers mail to publisher when post has failed to deliver and is now delivered | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/post_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:16:in `block (2 levels) in <top (required)>' | |
# ./spec/models/post_spec.rb:990:in `block (3 levels) in <top (required)>' | |
473) RailsyVersion only queries versions of item_type "Post" for brand.post_versions | |
Failure/Error: FactoryGirl.create(:post, author: FactoryGirl.create(:user), brand: brand) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/railsy_version_spec.rb:10:in `block (3 levels) in <top (required)>' | |
# ./spec/models/railsy_version_spec.rb:6:in `block (2 levels) in <top (required)>' | |
474) SharedImage attached image is attached | |
Failure/Error: let(:shared_image) {Factory(:shared_image, :image => File.new(Rails.root + 'spec/support/fixtures/snake-handlers.jpg'), :image_content_type => 'image/jpeg')} | |
ActiveRecord::RecordInvalid: | |
Validation failed: Image Paperclip::CommandNotFoundError, Image Paperclip::CommandNotFoundError, Image Paperclip::CommandNotFoundError | |
# ./spec/models/shared_image_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/models/shared_image_spec.rb:11:in `block (3 levels) in <top (required)>' | |
475) SharedImage attached image only allows jpegs, pngs and gifs | |
Failure/Error: let(:shared_image) {Factory(:shared_image, :image => File.new(Rails.root + 'spec/support/fixtures/snake-handlers.jpg'), :image_content_type => 'image/jpeg')} | |
ActiveRecord::RecordInvalid: | |
Validation failed: Image Paperclip::CommandNotFoundError, Image Paperclip::CommandNotFoundError, Image Paperclip::CommandNotFoundError | |
# ./spec/models/shared_image_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/models/shared_image_spec.rb:15:in `block (3 levels) in <top (required)>' | |
476) SharedImage shortened_url shortens url using bitly | |
Failure/Error: let(:shared_image) {Factory(:shared_image, :image => File.new(Rails.root + 'spec/support/fixtures/snake-handlers.jpg'), :image_content_type => 'image/jpeg')} | |
ActiveRecord::RecordInvalid: | |
Validation failed: Image Paperclip::CommandNotFoundError, Image Paperclip::CommandNotFoundError, Image Paperclip::CommandNotFoundError | |
# ./spec/models/shared_image_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/models/shared_image_spec.rb:25:in `block (3 levels) in <top (required)>' | |
477) SharedImage shortened_url stores stores bitly url in database | |
Failure/Error: let(:shared_image) {Factory(:shared_image, :image => File.new(Rails.root + 'spec/support/fixtures/snake-handlers.jpg'), :image_content_type => 'image/jpeg')} | |
ActiveRecord::RecordInvalid: | |
Validation failed: Image Paperclip::CommandNotFoundError, Image Paperclip::CommandNotFoundError, Image Paperclip::CommandNotFoundError | |
# ./spec/models/shared_image_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/models/shared_image_spec.rb:25:in `block (3 levels) in <top (required)>' | |
478) SharedImage shortened_url fetches bitly url from database on subsequent calls | |
Failure/Error: let(:shared_image) {Factory(:shared_image, :image => File.new(Rails.root + 'spec/support/fixtures/snake-handlers.jpg'), :image_content_type => 'image/jpeg')} | |
ActiveRecord::RecordInvalid: | |
Validation failed: Image Paperclip::CommandNotFoundError, Image Paperclip::CommandNotFoundError, Image Paperclip::CommandNotFoundError | |
# ./spec/models/shared_image_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/models/shared_image_spec.rb:25:in `block (3 levels) in <top (required)>' | |
479) SharedImage image_url returns the large image path prepended with the current IMAGE_SERVER_URL | |
Failure/Error: let(:shared_image) {Factory(:shared_image, :image => File.new(Rails.root + 'spec/support/fixtures/snake-handlers.jpg'), :image_content_type => 'image/jpeg')} | |
ActiveRecord::RecordInvalid: | |
Validation failed: Image Paperclip::CommandNotFoundError, Image Paperclip::CommandNotFoundError, Image Paperclip::CommandNotFoundError | |
# ./spec/models/shared_image_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/models/shared_image_spec.rb:50:in `block (3 levels) in <top (required)>' | |
480) TwitterNetwork identify returns a newly created TwitterNetwork instance and assigns it to passed in brand and user if one doesn't already exist | |
Failure/Error: @u = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/twitter_spec.rb:30:in `block (3 levels) in <top (required)>' | |
481) TwitterNetwork identify updates the token, secret, and owner of the pre-existing network if one is found within the passed brand | |
Failure/Error: @u = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/twitter_spec.rb:30:in `block (3 levels) in <top (required)>' | |
482) TwitterNetwork TwitterNetwork publish with a direct message posts to network | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/twitter_spec.rb:81:in `block (3 levels) in <top (required)>' | |
# ./spec/models/twitter_spec.rb:83:in `block (3 levels) in <top (required)>' | |
# ./spec/models/twitter_spec.rb:92:in `block (4 levels) in <top (required)>' | |
483) TwitterNetwork TwitterNetwork publish with a public message posts to network | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/twitter_spec.rb:81:in `block (3 levels) in <top (required)>' | |
# ./spec/models/twitter_spec.rb:83:in `block (3 levels) in <top (required)>' | |
# ./spec/models/twitter_spec.rb:101:in `block (4 levels) in <top (required)>' | |
484) TwitterNetwork TwitterNetwork publish with a reply to a public message posts to network | |
Failure/Error: let(:user) { Factory(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/twitter_spec.rb:81:in `block (3 levels) in <top (required)>' | |
# ./spec/models/twitter_spec.rb:83:in `block (3 levels) in <top (required)>' | |
# ./spec/models/twitter_spec.rb:111:in `block (4 levels) in <top (required)>' | |
485) User has_paper_trail | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:98:in `block (2 levels) in <top (required)>' | |
486) User has a name | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:102:in `block (2 levels) in <top (required)>' | |
487) User instance is valid | |
Failure/Error: Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:14:in `block (3 levels) in <top (required)>' | |
488) User instance is valid | |
Failure/Error: Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:14:in `block (3 levels) in <top (required)>' | |
489) User instance is valid | |
Failure/Error: Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:14:in `block (3 levels) in <top (required)>' | |
490) User instance is valid | |
Failure/Error: Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:14:in `block (3 levels) in <top (required)>' | |
491) User instance is valid | |
Failure/Error: Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:14:in `block (3 levels) in <top (required)>' | |
492) User instance is valid | |
Failure/Error: Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:14:in `block (3 levels) in <top (required)>' | |
493) User instance is valid | |
Failure/Error: Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:14:in `block (3 levels) in <top (required)>' | |
494) User state machine is pending by default | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:44:in `block (3 levels) in <top (required)>' | |
495) User state machine returns false if not active | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:48:in `block (3 levels) in <top (required)>' | |
496) User state machine returns false if not suspended | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:52:in `block (3 levels) in <top (required)>' | |
497) User state machine changes user state to active if state is pending | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:56:in `block (3 levels) in <top (required)>' | |
498) User state machine changes user state to active if state is suspended | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:62:in `block (3 levels) in <top (required)>' | |
499) User state machine returns true if state is active | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:68:in `block (3 levels) in <top (required)>' | |
500) User state machine changes user state to pending if state is active | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:73:in `block (3 levels) in <top (required)>' | |
501) User state machine changes user state to pending if state is suspended | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:79:in `block (3 levels) in <top (required)>' | |
502) User state machine changes user state to suspended if active | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:85:in `block (3 levels) in <top (required)>' | |
503) User state machine returns true if state is suspended | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:91:in `block (3 levels) in <top (required)>' | |
504) User creation generates a random token | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:109:in `block (3 levels) in <top (required)>' | |
505) User creation has a 'pending' state | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:113:in `block (3 levels) in <top (required)>' | |
506) User creation delivers an activation email | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:121:in `block (3 levels) in <top (required)>' | |
507) User self.notifiable returns users who are above role "user" who have set receive_notification_email to true | |
Failure/Error: u = Factory(:user, :receive_reviewer_notification => true, :role => 'admin', :organization => o) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:132:in `block (3 levels) in <top (required)>' | |
508) User avatar_url accepts an argument which specifies the size of avatar to return | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:149:in `block (3 levels) in <top (required)>' | |
509) User avatar_url returns the url for a 32*32 avatar by default | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:153:in `block (3 levels) in <top (required)>' | |
510) User user_brands_attributes= rejects attributes which have a nil brand_id | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:160:in `block (3 levels) in <top (required)>' | |
511) User brand_role returns user role for brand passed in | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:170:in `block (3 levels) in <top (required)>' | |
512) User brand_role? returns true if user is in role for brand passed in | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:179:in `block (3 levels) in <top (required)>' | |
513) User brand_member? returns true or false based on their brand membership | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:193:in `block (3 levels) in <top (required)>' | |
514) User network_member? returns true or false based on their network membership | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:203:in `block (3 levels) in <top (required)>' | |
515) User create password should have a password | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:211:in `block (3 levels) in <top (required)>' | |
516) User authentication should not be nil | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:221:in `block (3 levels) in <top (required)>' | |
517) User authentication should match user | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:221:in `block (3 levels) in <top (required)>' | |
518) User authentication is case insenative to email | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:221:in `block (3 levels) in <top (required)>' | |
519) User authentication regenerates a random_token | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:221:in `block (3 levels) in <top (required)>' | |
520) User random_tokenize generates a random token | |
Failure/Error: user = Factory(:user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:248:in `block (3 levels) in <top (required)>' | |
521) User can_review? returns false if the user is site-wide user and user in the brand | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:257:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:260:in `block (3 levels) in <top (required)>' | |
522) User can_review? returns false if the user owns the post, is site-wide user and user in the brand | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:257:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:260:in `block (3 levels) in <top (required)>' | |
523) User User can_review? with an admin user returns true if the user has not moderated the post | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:257:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:260:in `block (3 levels) in <top (required)>' | |
524) User User can_review? with an admin user returns false if the user has moderated the post | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:257:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:260:in `block (3 levels) in <top (required)>' | |
525) User User can_review? with an admin user returns true if the user is the author | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:257:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:260:in `block (3 levels) in <top (required)>' | |
526) User User can_review? with an executive user returns true if the user has not moderated the post | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:257:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:260:in `block (3 levels) in <top (required)>' | |
527) User User can_review? with an executive user returns false if the user has moderated the post | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:257:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:260:in `block (3 levels) in <top (required)>' | |
528) User User can_review? with an executive user returns true if the user is the author | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:257:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:260:in `block (3 levels) in <top (required)>' | |
529) User User can_review? with a user who has the role brand_admin in the post's brand returns true if the user has not moderated the post | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:257:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:260:in `block (3 levels) in <top (required)>' | |
530) User User can_review? with a user who has the role brand_admin in the post's brand returns false if the user has moderated the post | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:257:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:260:in `block (3 levels) in <top (required)>' | |
531) User User can_review? with a user who has the role brand_admin in the post's brand returns true if the user is the author | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:257:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:260:in `block (3 levels) in <top (required)>' | |
532) User User can_review? with a user who has the role reviewer in the post's brand returns true if the user has not moderated the post | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:257:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:260:in `block (3 levels) in <top (required)>' | |
533) User User can_review? with a user who has the role reviewer in the post's brand returns false if the user has moderated the post | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:257:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:260:in `block (3 levels) in <top (required)>' | |
534) User User can_review? with a user who has the role reviewer in the post's brand returns true if the user is the author | |
Failure/Error: let(:user) {Factory(:user)} | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:8:in `block (2 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:257:in `block (3 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:260:in `block (3 levels) in <top (required)>' | |
535) User can_delete? given a post argument returns false if user is not author or admin | |
Failure/Error: let(:u) { Factory.build(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:327:in `block (4 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:330:in `block (4 levels) in <top (required)>' | |
536) User can_delete? given a post argument returns false if user role qualifies but post is delivered | |
Failure/Error: let(:u) { Factory.build(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:327:in `block (4 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:336:in `block (4 levels) in <top (required)>' | |
537) User can_delete? given a post argument returns true if user role qualifies and post is undelivered | |
Failure/Error: let(:u) { Factory.build(:user) } | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:327:in `block (4 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:343:in `block (4 levels) in <top (required)>' | |
538) User roles should not be an executive | |
Failure/Error: @executive_user = Factory(:executive_user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:356:in `block (4 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:353:in `block (3 levels) in <top (required)>' | |
539) User roles should be an executive | |
Failure/Error: @executive_user = Factory(:executive_user) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/models/user_spec.rb:356:in `block (4 levels) in <top (required)>' | |
# ./spec/models/user_spec.rb:353:in `block (3 levels) in <top (required)>' | |
540) Inbox displays inbox link on timeline for brand authors | |
Failure/Error: user = FactoryGirl.create(:user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/inboxes_spec.rb:14:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/inboxes_spec.rb:21:in `block (2 levels) in <top (required)>' | |
541) Organization account activity reports can be ordered by clicking on a certain column header | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:24:in `block (2 levels) in <top (required)>' | |
542) Organization account activity reports orders by Time by default | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:24:in `block (2 levels) in <top (required)>' | |
543) Organization account activity reports can be filtered by submitting form for filters | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:24:in `block (2 levels) in <top (required)>' | |
544) Organization account activity reports options to filter to users, ip_addresses, and networks only include those that the logged in user has access to | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:24:in `block (2 levels) in <top (required)>' | |
545) Organization account activity reports downloads a CSV of the report | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:24:in `block (2 levels) in <top (required)>' | |
546) Organization account activity reports downloads a CSV of the report while ordered by Time | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:24:in `block (2 levels) in <top (required)>' | |
547) Organization account activity reports downloads a CSV of the report while ordered by Reviewer | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:24:in `block (2 levels) in <top (required)>' | |
548) Organization account activity reports downloads a CSV of the report while ordered by Platform | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:24:in `block (2 levels) in <top (required)>' | |
549) Organization account activity reports downloads a CSV of the report while ordered by Account | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:24:in `block (2 levels) in <top (required)>' | |
550) Organization account activity reports downloads a CSV of the report while ordered by Status | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:24:in `block (2 levels) in <top (required)>' | |
551) Organization account activity reports it should behave like reports that filter by brand filters to selected brand | |
Failure/Error: Unable to find matching line from backtrace | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
Shared Example Group: "reports that filter by brand" called from ./spec/requests/organizations/reports/account_activity_reports_spec.rb:112 | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/account_activity_reports_spec.rb:24:in `block (2 levels) in <top (required)>' | |
552) Posts by status reports displays posts of status type specified by user | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/posts_by_status_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/posts_by_status_reports_spec.rb:20:in `block (2 levels) in <top (required)>' | |
553) Posts by status reports can be ordered by clicking on a certain column header | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/posts_by_status_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/posts_by_status_reports_spec.rb:20:in `block (2 levels) in <top (required)>' | |
554) Posts by status reports orders by Time by default | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/posts_by_status_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/posts_by_status_reports_spec.rb:20:in `block (2 levels) in <top (required)>' | |
555) Posts by status reports downloads a CSV of the report | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/posts_by_status_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/posts_by_status_reports_spec.rb:20:in `block (2 levels) in <top (required)>' | |
556) Posts by status reports it should behave like reports that filter by brand filters to selected brand | |
Failure/Error: Unable to find matching line from backtrace | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
Shared Example Group: "reports that filter by brand" called from ./spec/requests/organizations/reports/posts_by_status_reports_spec.rb:67 | |
# ./spec/requests/organizations/reports/posts_by_status_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/posts_by_status_reports_spec.rb:20:in `block (2 levels) in <top (required)>' | |
557) Organization scheduled posts reports can be ordered by clicking on a certain column header | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/scheduled_posts_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/scheduled_posts_reports_spec.rb:19:in `block (2 levels) in <top (required)>' | |
558) Organization scheduled posts reports orders by Scheduled by default | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/scheduled_posts_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/scheduled_posts_reports_spec.rb:19:in `block (2 levels) in <top (required)>' | |
559) Organization scheduled posts reports downloads a CSV of the report | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/scheduled_posts_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/scheduled_posts_reports_spec.rb:19:in `block (2 levels) in <top (required)>' | |
560) Organization scheduled posts reports it should behave like reports that filter by brand filters to selected brand | |
Failure/Error: Unable to find matching line from backtrace | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
Shared Example Group: "reports that filter by brand" called from ./spec/requests/organizations/reports/scheduled_posts_reports_spec.rb:50 | |
# ./spec/requests/organizations/reports/scheduled_posts_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/scheduled_posts_reports_spec.rb:19:in `block (2 levels) in <top (required)>' | |
561) Organization system activity reports can be ordered by clicking on a certain column header | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/system_activity_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/system_activity_reports_spec.rb:22:in `block (2 levels) in <top (required)>' | |
562) Organization system activity reports orders by Time by default | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/system_activity_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/system_activity_reports_spec.rb:22:in `block (2 levels) in <top (required)>' | |
563) Organization system activity reports downloads a CSV of the report | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations/reports/system_activity_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/system_activity_reports_spec.rb:22:in `block (2 levels) in <top (required)>' | |
564) Organization system activity reports it should behave like reports that filter by brand filters to selected brand | |
Failure/Error: Unable to find matching line from backtrace | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
Shared Example Group: "reports that filter by brand" called from ./spec/requests/organizations/reports/system_activity_reports_spec.rb:53 | |
# ./spec/requests/organizations/reports/system_activity_reports_spec.rb:9:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations/reports/system_activity_reports_spec.rb:22:in `block (2 levels) in <top (required)>' | |
565) Organizations displays inbox link on timeline for brand authors | |
Failure/Error: user = FactoryGirl.create(:user, :organization => org, :role => 'admin') | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/organizations_spec.rb:14:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/organizations_spec.rb:21:in `block (2 levels) in <top (required)>' | |
566) Users can be created by submitting form | |
Failure/Error: user = FactoryGirl.create(:executive_user, organization: org) | |
NoMethodError: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.delete | |
# ./spec/requests/users_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/requests/users_spec.rb:17:in `block (2 levels) in <top (required)>' | |
Finished in -101180522.90504 seconds | |
1186 examples, 566 failures, 55 pending | |
Failed examples: | |
rspec ./spec/controllers/admin/users_controller_spec.rb:10 # Admin::UsersController access is granted for social volt employees with role admin | |
rspec ./spec/controllers/admin/users_controller_spec.rb:10 # Admin::UsersController access is granted for social volt employees with role account_representative | |
rspec ./spec/controllers/admin/users_controller_spec.rb:22 # Admin::UsersController access is denied for customers with role executive | |
rspec ./spec/controllers/admin/users_controller_spec.rb:22 # Admin::UsersController access is denied for customers with role reviewer | |
rspec ./spec/controllers/admin/users_controller_spec.rb:22 # Admin::UsersController access is denied for customers with role brand_admin | |
rspec ./spec/controllers/admin/users_controller_spec.rb:22 # Admin::UsersController access is denied for customers with role user | |
rspec ./spec/controllers/application_controller_spec.rb:97 # ApplicationController info_for_paper_trail logged in returns whodunnit_ip | |
rspec ./spec/controllers/application_controller_spec.rb:101 # ApplicationController info_for_paper_trail logged in returns current brand_id | |
rspec ./spec/controllers/application_controller_spec.rb:105 # ApplicationController info_for_paper_trail logged in returns current organization_id | |
rspec ./spec/controllers/bitly_controller_spec.rb:16 # BitliesController GET show exposes an instance of Btly | |
rspec ./spec/controllers/bitly_controller_spec.rb:20 # BitliesController GET show renders show | |
rspec ./spec/controllers/bitly_controller_spec.rb:31 # BitliesController GET new exposes an instance of Btly | |
rspec ./spec/controllers/bitly_controller_spec.rb:46 # BitliesController POST create success responds with a 200 | |
rspec ./spec/controllers/bitly_controller_spec.rb:50 # BitliesController POST create success notifies user of success | |
rspec ./spec/controllers/bitly_controller_spec.rb:62 # BitliesController POST create failure renders new | |
rspec ./spec/controllers/bitly_controller_spec.rb:66 # BitliesController POST create failure notifies user of failure | |
rspec ./spec/controllers/bitly_controller_spec.rb:86 # BitliesController update success responds with a 200 | |
rspec ./spec/controllers/bitly_controller_spec.rb:90 # BitliesController update success notifies user of success | |
rspec ./spec/controllers/bitly_controller_spec.rb:102 # BitliesController update failure renders edit | |
rspec ./spec/controllers/bitly_controller_spec.rb:106 # BitliesController update failure notifies user of failure | |
rspec ./spec/controllers/bitly_controller_spec.rb:122 # BitliesController update shorten success renders a json response with the shortened url | |
rspec ./spec/controllers/bitly_controller_spec.rb:136 # BitliesController update shorten failure notifies user of failure | |
rspec ./spec/controllers/brands/reviewers_controller_spec.rb:8 # Brands::ReviewersController renders edit_multiple for a json request | |
rspec ./spec/controllers/brands_controller_spec.rb:16 # BrandsController index responds with a 200 | |
rspec ./spec/controllers/brands_controller_spec.rb:20 # BrandsController index exposes brands | |
rspec ./spec/controllers/brands_controller_spec.rb:31 # BrandsController show responds with a 200 | |
rspec ./spec/controllers/brands_controller_spec.rb:35 # BrandsController show exposes brand | |
rspec ./spec/controllers/brands_controller_spec.rb:41 # BrandsController new responds with a 200 | |
rspec ./spec/controllers/brands_controller_spec.rb:46 # BrandsController new exposes a new brand | |
rspec ./spec/controllers/brands_controller_spec.rb:51 # BrandsController BrandsController new json renders json with an html element | |
rspec ./spec/controllers/brands_controller_spec.rb:69 # BrandsController create success sets brand organization to current_organization | |
rspec ./spec/controllers/brands_controller_spec.rb:73 # BrandsController create success responds with a redirect | |
rspec ./spec/controllers/brands_controller_spec.rb:77 # BrandsController create success notifies user of success | |
rspec ./spec/controllers/brands_controller_spec.rb:82 # BrandsController create BrandsController create success first brand in organization redirects user to create their first network | |
rspec ./spec/controllers/brands_controller_spec.rb:98 # BrandsController create failure renders new | |
rspec ./spec/controllers/brands_controller_spec.rb:102 # BrandsController create failure notifies user of failure | |
rspec ./spec/controllers/brands_controller_spec.rb:113 # BrandsController edit exposes brand | |
rspec ./spec/controllers/brands_controller_spec.rb:118 # BrandsController edit renders edit | |
rspec ./spec/controllers/brands_controller_spec.rb:124 # BrandsController BrandsController edit json renders json with an html element | |
rspec ./spec/controllers/brands_controller_spec.rb:150 # BrandsController update success without networks pending re authentication responds with a redirect | |
rspec ./spec/controllers/brands_controller_spec.rb:155 # BrandsController update success without networks pending re authentication notifies user of success | |
rspec ./spec/controllers/brands_controller_spec.rb:160 # BrandsController update success without networks pending re authentication redirects to next parameter if present | |
rspec ./spec/controllers/brands_controller_spec.rb:167 # BrandsController update success with networks pending re authentication redirects to re_authenticate_networks_path | |
rspec ./spec/controllers/brands_controller_spec.rb:184 # BrandsController update failure renders edit | |
rspec ./spec/controllers/brands_controller_spec.rb:188 # BrandsController update failure notifies user of failure | |
rspec ./spec/controllers/brands_controller_spec.rb:206 # BrandsController destroy success redirects and sets current_brand to be a brand other then the one deleted if the brand deleted was current_brand | |
rspec ./spec/controllers/brands_controller_spec.rb:213 # BrandsController destroy success redirects to create a new brand if you delete the last brand in the organization | |
rspec ./spec/controllers/brands_controller_spec.rb:220 # BrandsController destroy success notifies user of success | |
rspec ./spec/controllers/brands_controller_spec.rb:231 # BrandsController destroy failure redirects | |
rspec ./spec/controllers/brands_controller_spec.rb:235 # BrandsController destroy failure notifies user of failure | |
rspec ./spec/controllers/compliance_settings_controller_spec.rb:12 # ComplianceSettingsController GET #index exposes compliance_settings | |
rspec ./spec/controllers/compliance_settings_controller_spec.rb:19 # ComplianceSettingsController PUT #update updates current organization's compliance settings | |
rspec ./spec/controllers/compliance_settings_controller_spec.rb:26 # ComplianceSettingsController ComplianceSettingsController PUT #update failure responds with a failure message and boolean | |
rspec ./spec/controllers/compliance_settings_controller_spec.rb:42 # ComplianceSettingsController PUT #update_keywords updates current organization's blocked keywords list | |
rspec ./spec/controllers/compliance_settings_controller_spec.rb:48 # ComplianceSettingsController PUT #update_keywords updates current organization's flagged keywords list | |
rspec ./spec/controllers/compliance_settings_controller_spec.rb:68 # ComplianceSettingsController DELETE #delete_keyword json flagged deletes flagged words | |
rspec ./spec/controllers/compliance_settings_controller_spec.rb:73 # ComplianceSettingsController DELETE #delete_keyword json ComplianceSettingsController DELETE #delete_keyword json flagged success responds with success boolean | |
rspec ./spec/controllers/compliance_settings_controller_spec.rb:81 # ComplianceSettingsController DELETE #delete_keyword json ComplianceSettingsController DELETE #delete_keyword json flagged failure responds with success boolean | |
rspec ./spec/controllers/compliance_settings_controller_spec.rb:94 # ComplianceSettingsController DELETE #delete_keyword json blocked deletes blocked words | |
rspec ./spec/controllers/compliance_settings_controller_spec.rb:99 # ComplianceSettingsController DELETE #delete_keyword json ComplianceSettingsController DELETE #delete_keyword json blocked success responds with success boolean | |
rspec ./spec/controllers/compliance_settings_controller_spec.rb:107 # ComplianceSettingsController DELETE #delete_keyword json ComplianceSettingsController DELETE #delete_keyword json blocked failure responds with success boolean | |
rspec ./spec/controllers/facebooks_controller_spec.rb:21 # FacebooksController#setup sets session[:re_authenticating] to params[:re_authenticating] | |
rspec ./spec/controllers/facebooks_controller_spec.rb:26 # FacebooksController#setup sets request.env['omniauth.strategy'].client_id to app id from FacebookNetwork.auth(current_brand) | |
rspec ./spec/controllers/facebooks_controller_spec.rb:31 # FacebooksController#setup sets request.env['omniauth.strategy'].client_secret to client secret from FacebookNetwork.auth(current_brand) | |
rspec ./spec/controllers/facebooks_controller_spec.rb:36 # FacebooksController#setup sets request.env['omniauth.strategy'].options[:scope] to :perms from FacebookNetwork.auth(current_brand) | |
rspec ./spec/controllers/facebooks_controller_spec.rb:43 # FacebooksController#setup renders 404 | |
rspec ./spec/controllers/facebooks_controller_spec.rb:58 # FacebooksController#update updates facebook network | |
rspec ./spec/controllers/facebooks_controller_spec.rb:63 # FacebooksController#update redirects to networks_path | |
rspec ./spec/controllers/facebooks_controller_spec.rb:69 # FacebooksController FacebooksController#update with networks requiring re-authentication redirects to re_authenticate_networks | |
rspec ./spec/controllers/facebooks_controller_spec.rb:98 # FacebooksController#callback with session[:re_authenticating] == true redirects to networks_path if there are no more networks pending re authentication | |
rspec ./spec/controllers/facebooks_controller_spec.rb:104 # FacebooksController#callback with session[:re_authenticating] == true redirects to re_authenticate_networks_path if there are more networks pending re authentication | |
rspec ./spec/controllers/facebooks_controller_spec.rb:111 # FacebooksController#callback with session[:re_authenticating] == true resets session[:re_authenticating] to nil | |
rspec ./spec/controllers/facebooks_controller_spec.rb:119 # FacebooksController#callback with params[:re_authenticating] == nil renders the callback template | |
rspec ./spec/controllers/facebooks_controller_spec.rb:124 # FacebooksController#callback with params[:re_authenticating] == nil calls Facebook.identify with current brand current user, account type, Facebook id and oauth token. | |
rspec ./spec/controllers/home_controller_spec.rb:17 # HomeController posts exposure exposes posts | |
rspec ./spec/controllers/home_controller_spec.rb:24 # HomeController posts exposure exposes posts newer then params[:since] if present | |
rspec ./spec/controllers/home_controller_spec.rb:32 # HomeController posts exposure exposes posts older then params[:until] if present | |
rspec ./spec/controllers/home_controller_spec.rb:57 # HomeController GET timeline renders timeline template | |
rspec ./spec/controllers/home_controller_spec.rb:63 # HomeController HomeController GET timeline JSON format responds with an html key | |
rspec ./spec/controllers/home_controller_spec.rb:70 # HomeController HomeController GET timeline JSON format responds with an new_count key when given count_only in params | |
rspec ./spec/controllers/home_controller_spec.rb:81 # HomeController GET index redirects to timeline | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:13 # Networks::FacebookPostsController exposes since_date for pagination | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:28 # Networks::FacebookPostsController GET show fetches the facebook post | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:32 # Networks::FacebookPostsController GET show renders json with html key | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:45 # Networks::FacebookPostsController GET index exposes the user timeline | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:50 # Networks::FacebookPostsController GET index renders index | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:57 # Networks::FacebookPostsController Networks::FacebookPostsController GET index format => "json" renders json with html and next_page_url keys | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:71 # Networks::FacebookPostsController Networks::FacebookPostsController GET index with a network which is a page exposes the page's facebook wall | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:76 # Networks::FacebookPostsController Networks::FacebookPostsController GET index Networks::FacebookPostsController Networks::FacebookPostsController GET index with a network which is a page format => "json" renders json with html and next_page_url keys | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:86 # Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] wall exposes facebook wall | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:91 # Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] wall renders index | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:98 # Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] wall format => "json" renders json with html and next_page_url keys | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:107 # Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] wall with :facebook_user_id exposes facebook user wall | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:113 # Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] wall Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:post_type] wall with :facebook_user_id format => "json" renders json with html and next_page_url keys | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:126 # Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:since] as json renders posts newer then params[:since] | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:136 # Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:since] Networks::FacebookPostsController Networks::FacebookPostsController GET index with params[:since] as json with params[:only_count] returns a count of posts newer then params[:since] | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:151 # Networks::FacebookPostsController PUT update responds with a json object with a success attribute | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:157 # Networks::FacebookPostsController PUT update likes a post when passed :like => true | |
rspec ./spec/controllers/networks/facebook_posts_controller_spec.rb:162 # Networks::FacebookPostsController PUT update un-likes a post when passed :like => false | |
rspec ./spec/controllers/networks/facebook_users_controller_spec.rb:13 # Networks::FacebookUsersController GET index exposes users you are friends with | |
rspec ./spec/controllers/networks/facebook_users_controller_spec.rb:27 # Networks::FacebookUsersController GET show with format => "json" exposes user | |
rspec ./spec/controllers/networks/facebook_users_controller_spec.rb:31 # Networks::FacebookUsersController GET show with format => "json" renders json with html key | |
rspec ./spec/controllers/networks/facebooks_controller_spec.rb:13 # Networks::FacebooksController GET show redirects to facebook_posts index | |
rspec ./spec/controllers/networks/twitter_lists_controller_spec.rb:13 # Networks::TwitterListsController GET index should expose your lists | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:14 # Networks::TwitterPostsController GET show displays thread of posts post was in reply to | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:20 # Networks::TwitterPostsController Networks::TwitterPostsController GET show with display: retweets displays retweets | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:27 # Networks::TwitterPostsController Networks::TwitterPostsController GET show format => 'json' responds with an html key | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:42 # Networks::TwitterPostsController GET index with no post_type exposes the twitter timeline | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:46 # Networks::TwitterPostsController GET index with no post_type renders index | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:52 # Networks::TwitterPostsController GET index Networks::TwitterPostsController GET index with no post_type format json renders index in html key of json response | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:60 # Networks::TwitterPostsController GET index with no post_type and params[:twitter_user_id] exposes twitter user timeline | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:67 # Networks::TwitterPostsController GET index Networks::TwitterPostsController GET index with no post_type and params[:twitter_user_id] json renders user_timeline in html key of json response | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:77 # Networks::TwitterPostsController GET index with no post_type and params[:list_id] exposes list timeline and passes along params[:page] | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:83 # Networks::TwitterPostsController GET index Networks::TwitterPostsController GET index with no post_type and params[:list_id] json renders user_timeline in html key of json response | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:93 # Networks::TwitterPostsController GET index with :post_type => mentions exposes mentions | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:100 # Networks::TwitterPostsController GET index with :post_type => direct_messages exposes direct_messages | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:107 # Networks::TwitterPostsController GET index with :post_type => my_posts exposes network posts | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:114 # Networks::TwitterPostsController GET index with :post_type => retweets_of_me exposes retweets | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:121 # Networks::TwitterPostsController GET index with :post_type => favorites exposes favorites | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:128 # Networks::TwitterPostsController GET index with :post_type => search and :q => "thing" exposes searched for tweets | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:136 # Networks::TwitterPostsController GET index with params[:since] as json renders posts newer then params[:since] | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:146 # Networks::TwitterPostsController GET index with params[:since] Networks::TwitterPostsController GET index with params[:since] as json with params[:only_count] returns a count of posts newer then params[:since] | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:164 # Networks::TwitterPostsController POST update with :retweet => true retweets the post | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:168 # Networks::TwitterPostsController POST update with :retweet => true renders json with success attribute | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:179 # Networks::TwitterPostsController POST update with :favorite => true favorites the post | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:183 # Networks::TwitterPostsController POST update with :favorite => true renders json with success attribute | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:194 # Networks::TwitterPostsController POST update with :favorite => false un-favorites the post | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:198 # Networks::TwitterPostsController POST update with :favorite => false renders json with success attribute | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:206 # Networks::TwitterPostsController DESTROY destroy submits a request to twitter to destroy the given post | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:212 # Networks::TwitterPostsController Networks::TwitterPostsController DESTROY destroy success renders json with success boolean | |
rspec ./spec/controllers/networks/twitter_posts_controller_spec.rb:220 # Networks::TwitterPostsController Networks::TwitterPostsController DESTROY destroy failure renders json with success boolean and appropriate message in message key | |
rspec ./spec/controllers/networks/twitter_users_controller_spec.rb:14 # Networks::TwitterUsersController GET show format :json responds with json containing an html key | |
rspec ./spec/controllers/networks/twitter_users_controller_spec.rb:24 # Networks::TwitterUsersController GET index with no user_type exposes users you follow | |
rspec ./spec/controllers/networks/twitter_users_controller_spec.rb:32 # Networks::TwitterUsersController GET index with user_type => followers exposes users who follow you | |
rspec ./spec/controllers/networks/twitter_users_controller_spec.rb:43 # Networks::TwitterUsersController GET index with :twitter_user_id with no user_type exposes users you follow | |
rspec ./spec/controllers/networks/twitter_users_controller_spec.rb:51 # Networks::TwitterUsersController GET index with :twitter_user_id with user_type => followers exposes users who follow you | |
rspec ./spec/controllers/networks/twitter_users_controller_spec.rb:57 # Networks::TwitterUsersController GET index with :twitter_user_id with user_type => followers passes next_cursor to followers if params[:next_cursor] is present | |
rspec ./spec/controllers/networks/twitter_users_controller_spec.rb:68 # Networks::TwitterUsersController GET index :format => 'json' renders a response containing an html element and a next_page_url element | |
rspec ./spec/controllers/networks/twitter_users_controller_spec.rb:85 # Networks::TwitterUsersController PUT update with :follow => true follows the user | |
rspec ./spec/controllers/networks/twitter_users_controller_spec.rb:89 # Networks::TwitterUsersController PUT update with :follow => true renders follow for format => json | |
rspec ./spec/controllers/networks/twitter_users_controller_spec.rb:100 # Networks::TwitterUsersController PUT update with :follow => false unfollows the user | |
rspec ./spec/controllers/networks/twitter_users_controller_spec.rb:104 # Networks::TwitterUsersController PUT update with :follow => false renders unfollow for format json | |
rspec ./spec/controllers/networks/twitters_controller_spec.rb:13 # Networks::TwittersController GET show redirects to twitter_posts index | |
rspec ./spec/controllers/networks_controller_spec.rb:14 # NetworksController GET 'new' should be successful | |
rspec ./spec/controllers/networks_controller_spec.rb:20 # NetworksController NetworksController GET 'new' as json renders json with an html attribute | |
rspec ./spec/controllers/networks_controller_spec.rb:28 # NetworksController GET re_authenticate exposes networks the current user owns which require re-authentication | |
rspec ./spec/controllers/networks_controller_spec.rb:36 # NetworksController GET failure should properly render omniauth failure messages in flash | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:12 # Organizations::ReportsController audit orders by Time when params[:order_by] == 'Time' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:12 # Organizations::ReportsController audit orders by Reviewer when params[:order_by] == 'Reviewer' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:12 # Organizations::ReportsController audit orders by Platform when params[:order_by] == 'Platform' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:12 # Organizations::ReportsController audit orders by Account when params[:order_by] == 'Account' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:12 # Organizations::ReportsController audit orders by Status when params[:order_by] == 'Status' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:18 # Organizations::ReportsController audit orders by column header in direction specified by params[:order_direction] | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:24 # Organizations::ReportsController Organizations::ReportsController audit.html renders report_table | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:32 # Organizations::ReportsController Organizations::ReportsController audit.csv generates csv file and sends it to user | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:51 # Organizations::ReportsController general_report orders by Time when params[:order_by] == 'Time' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:51 # Organizations::ReportsController general_report orders by Name when params[:order_by] == 'Name' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:51 # Organizations::ReportsController general_report orders by IP when params[:order_by] == 'IP' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:51 # Organizations::ReportsController general_report orders by Resource when params[:order_by] == 'Resource' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:51 # Organizations::ReportsController general_report orders by ID when params[:order_by] == 'ID' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:51 # Organizations::ReportsController general_report orders by Status when params[:order_by] == 'Status' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:57 # Organizations::ReportsController general_report orders by column header in direction specified by params[:order_direction] | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:63 # Organizations::ReportsController Organizations::ReportsController general_report.html renders general_report_table | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:71 # Organizations::ReportsController Organizations::ReportsController general_report.csv generates csv file with appropriate columns and redirects user to it | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:105 # Organizations::ReportsController scheduled_posts_report orders by Scheduled when params[:order_by] == 'Scheduled' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:105 # Organizations::ReportsController scheduled_posts_report orders by Message when params[:order_by] == 'Message' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:105 # Organizations::ReportsController scheduled_posts_report orders by Platform when params[:order_by] == 'Platform' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:105 # Organizations::ReportsController scheduled_posts_report orders by Account when params[:order_by] == 'Account' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:105 # Organizations::ReportsController scheduled_posts_report orders by Brand when params[:order_by] == 'Brand' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:105 # Organizations::ReportsController scheduled_posts_report orders by Author when params[:order_by] == 'Author' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:105 # Organizations::ReportsController scheduled_posts_report orders by ID when params[:order_by] == 'ID' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:105 # Organizations::ReportsController scheduled_posts_report orders by Status when params[:order_by] == 'Status' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:111 # Organizations::ReportsController scheduled_posts_report orders by column header in direction specified by params[:order_direction] | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:119 # Organizations::ReportsController scheduled_posts_report.html renders scheduled_posts_report | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:127 # Organizations::ReportsController scheduled_posts_report.csv generates csv file and redirects user to it | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:156 # Organizations::ReportsController get_user_info returns json containing a list of user ip addresses and networks to which the user belongs | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:163 # Organizations::ReportsController Organizations::ReportsController get_user_info no user id returns json containing a list of user ip addresses and networks to which the user belongs | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:179 # Organizations::ReportsController posts by status orders by Time when params[:order_by] == 'Time' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:179 # Organizations::ReportsController posts by status orders by Author when params[:order_by] == 'Author' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:179 # Organizations::ReportsController posts by status orders by Platform when params[:order_by] == 'Platform' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:179 # Organizations::ReportsController posts by status orders by Account when params[:order_by] == 'Account' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:179 # Organizations::ReportsController posts by status orders by Message when params[:order_by] == 'Message' | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:185 # Organizations::ReportsController posts by status orders by column header in direction specified by params[:order_direction] | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:191 # Organizations::ReportsController Organizations::ReportsController posts by status.html renders report_table | |
rspec ./spec/controllers/organizations/reports_controller_spec.rb:199 # Organizations::ReportsController Organizations::ReportsController posts by status.csv generates csv file and sends it to user | |
rspec ./spec/controllers/organizations_controller_spec.rb:16 # OrganizationsController#index action gets all organizations | |
rspec ./spec/controllers/organizations_controller_spec.rb:22 # OrganizationsController#index action exposes organizations | |
rspec ./spec/controllers/organizations_controller_spec.rb:26 # OrganizationsController#index action exposes organization count | |
rspec ./spec/controllers/organizations_controller_spec.rb:37 # OrganizationsController#new action instantiates Organization | |
rspec ./spec/controllers/organizations_controller_spec.rb:42 # OrganizationsController#new action renders new | |
rspec ./spec/controllers/organizations_controller_spec.rb:47 # OrganizationsController#new action builds Organization users | |
rspec ./spec/controllers/organizations_controller_spec.rb:54 # OrganizationsController OrganizationsController#new action format :json responds with json containing an html element | |
rspec ./spec/controllers/organizations_controller_spec.rb:68 # OrganizationsController#create action exposes organization | |
rspec ./spec/controllers/organizations_controller_spec.rb:72 # OrganizationsController#create action creates a new Organization | |
rspec ./spec/controllers/organizations_controller_spec.rb:77 # OrganizationsController#create action saves the new organization | |
rspec ./spec/controllers/organizations_controller_spec.rb:88 # OrganizationsController OrganizationsController#create action when organization is successfully created and saved notifies the executive | |
rspec ./spec/controllers/organizations_controller_spec.rb:92 # OrganizationsController OrganizationsController#create action when organization is successfully created and saved redirects to organization_url | |
rspec ./spec/controllers/organizations_controller_spec.rb:103 # OrganizationsController OrganizationsController#create action when organization is not successfully created and saved the #new template is rendered | |
rspec ./spec/controllers/organizations_controller_spec.rb:115 # OrganizationsController#edit renders edit | |
rspec ./spec/controllers/organizations_controller_spec.rb:121 # OrganizationsController OrganizationsController#edit format :json responds with json containing an html element | |
rspec ./spec/controllers/organizations_controller_spec.rb:141 # OrganizationsController#update without networks pending re_authenticate finds the organization by ID | |
rspec ./spec/controllers/organizations_controller_spec.rb:145 # OrganizationsController#update without networks pending re_authenticate#update updates the organization | |
rspec ./spec/controllers/organizations_controller_spec.rb:150 # OrganizationsController#update without networks pending re_authenticate redirects to edit organization page | |
rspec ./spec/controllers/organizations_controller_spec.rb:157 # OrganizationsController#update with networks pending re authentication redirects to re_authenticate_networks_path | |
rspec ./spec/controllers/passwords_controller_spec.rb:31 # PasswordsController redirects to root if user is not found | |
rspec ./spec/controllers/passwords_controller_spec.rb:11 # PasswordsController with params[:email] exposes user | |
rspec ./spec/controllers/passwords_controller_spec.rb:21 # PasswordsController with params[:random_token] exposes user by random_token | |
rspec ./spec/controllers/passwords_controller_spec.rb:38 # PasswordsController#create finds the user by email | |
rspec ./spec/controllers/passwords_controller_spec.rb:43 # PasswordsController#create delivers password reset instructions | |
rspec ./spec/controllers/passwords_controller_spec.rb:58 # PasswordsController PasswordsController#create when user can't be found should alert the user | |
rspec ./spec/controllers/passwords_controller_spec.rb:62 # PasswordsController PasswordsController#create when user can't be found redirects to referrer | |
rspec ./spec/controllers/passwords_controller_spec.rb:70 # PasswordsController#update when successful activates user in pending state | |
rspec ./spec/controllers/passwords_controller_spec.rb:79 # PasswordsController#update when successful updates existing user | |
rspec ./spec/controllers/passwords_controller_spec.rb:90 # PasswordsController#get_user finds the user by random token | |
rspec ./spec/controllers/post_comments_controller_spec.rb:17 # PostCommentsController index responds with a 200 | |
rspec ./spec/controllers/post_comments_controller_spec.rb:21 # PostCommentsController index exposes post_comments | |
rspec ./spec/controllers/post_comments_controller_spec.rb:32 # PostCommentsController json new responds with a 200 | |
rspec ./spec/controllers/post_comments_controller_spec.rb:36 # PostCommentsController json new exposes a new post_comment | |
rspec ./spec/controllers/post_comments_controller_spec.rb:40 # PostCommentsController json new responds with json containing an html element | |
rspec ./spec/controllers/post_comments_controller_spec.rb:57 # PostCommentsController json create success sets post_comment post to the post's id | |
rspec ./spec/controllers/post_comments_controller_spec.rb:62 # PostCommentsController json create success sets post_comment user to the current_user's id | |
rspec ./spec/controllers/post_comments_controller_spec.rb:67 # PostCommentsController json create success responds with json with success, message, and comment keys | |
rspec ./spec/controllers/post_comments_controller_spec.rb:75 # PostCommentsController json create success does not set flash[:notice] | |
rspec ./spec/controllers/post_comments_controller_spec.rb:91 # PostCommentsController json create failure responds with json with a success, message, and html key | |
rspec ./spec/controllers/post_comments_controller_spec.rb:97 # PostCommentsController json create failure does not set flash[:notice] | |
rspec ./spec/controllers/post_comments_controller_spec.rb:117 # PostCommentsController json update success responds with json with a success key and message keys | |
rspec ./spec/controllers/post_comments_controller_spec.rb:121 # PostCommentsController json update success does not set flash[:notice] | |
rspec ./spec/controllers/post_comments_controller_spec.rb:133 # PostCommentsController json update failure responds with json with success and message keys | |
rspec ./spec/controllers/post_comments_controller_spec.rb:137 # PostCommentsController json update failure does not set flash[:notice] | |
rspec ./spec/controllers/post_comments_controller_spec.rb:155 # PostCommentsController json destroy success responds with json which includes success and message keys | |
rspec ./spec/controllers/post_comments_controller_spec.rb:159 # PostCommentsController json destroy success does not set flash[:notice] | |
rspec ./spec/controllers/post_comments_controller_spec.rb:170 # PostCommentsController json destroy failure responds with json which includes success and message keys | |
rspec ./spec/controllers/post_comments_controller_spec.rb:174 # PostCommentsController json destroy failure does not set flash[:notice] | |
rspec ./spec/controllers/post_reviews_controller_spec.rb:20 # PostReviewsController moderating 'POST' approve notifies the user when successful | |
rspec ./spec/controllers/post_reviews_controller_spec.rb:26 # PostReviewsController moderating 'POST' approve alerts of failure | |
rspec ./spec/controllers/post_reviews_controller_spec.rb:34 # PostReviewsController moderating 'POST' deny calls post.reset_status! if params[:reset_status] is set to true and post has been approved | |
rspec ./spec/controllers/post_reviews_controller_spec.rb:42 # PostReviewsController moderating 'POST' deny does not call post.reset_status! if params[:reset_status] is set to true and post has not been approved | |
rspec ./spec/controllers/post_reviews_controller_spec.rb:50 # PostReviewsController moderating 'POST' deny notifies the user when successful | |
rspec ./spec/controllers/post_reviews_controller_spec.rb:56 # PostReviewsController moderating 'POST' deny alerts of faiure | |
rspec ./spec/controllers/posts_controller_spec.rb:13 # PostsController GET new assigns a new post as post | |
rspec ./spec/controllers/posts_controller_spec.rb:20 # PostsController PostsController GET new format :json responds with json with html key containing form | |
rspec ./spec/controllers/posts_controller_spec.rb:28 # PostsController GET edit assigns a new post as post | |
rspec ./spec/controllers/posts_controller_spec.rb:35 # PostsController PostsController GET edit format :json form in html key of json response | |
rspec ./spec/controllers/posts_controller_spec.rb:57 # PostsController POST update success responds with a redirect | |
rspec ./spec/controllers/posts_controller_spec.rb:62 # PostsController POST update success notifies user of success | |
rspec ./spec/controllers/posts_controller_spec.rb:75 # PostsController POST update failure renders edit | |
rspec ./spec/controllers/posts_controller_spec.rb:79 # PostsController POST update failure notifies user of failure | |
rspec ./spec/controllers/posts_controller_spec.rb:85 # PostsController POST update format json responds with success:true, message"Post updated." and html:updated_post_partial parameters | |
rspec ./spec/controllers/posts_controller_spec.rb:94 # PostsController POST update PostsController POST update format json failure responds with success:false, and message:"Update failed." parameters | |
rspec ./spec/controllers/posts_controller_spec.rb:127 # PostsController POST create with :via_quickpost instantiates an instance of Posts with params[:post] | |
rspec ./spec/controllers/posts_controller_spec.rb:135 # PostsController POST create PostsController POST create with :via_quickpost success unsets session[:qp_status] and session[:qp_shared_image_ids] | |
rspec ./spec/controllers/posts_controller_spec.rb:153 # PostsController POST create PostsController POST create with :via_quickpost with invalid params redirects back and sets session[:qp_status] and session[:qp_shared_image_ids] | |
rspec ./spec/controllers/posts_controller_spec.rb:179 # PostsController POST create without :via_quickpost with valid params success redirects to session[:return_to] | |
rspec ./spec/controllers/posts_controller_spec.rb:186 # PostsController POST create without :via_quickpost with valid params PostsController POST create without :via_quickpost with valid params success when post requires approval notifies the user | |
rspec ./spec/controllers/posts_controller_spec.rb:195 # PostsController POST create without :via_quickpost with valid params PostsController POST create without :via_quickpost with valid params success when post is denied for containing blocked words notifies the user | |
rspec ./spec/controllers/posts_controller_spec.rb:205 # PostsController POST create without :via_quickpost with valid params PostsController POST create without :via_quickpost with valid params success when post does not require approval notifies the user | |
rspec ./spec/controllers/posts_controller_spec.rb:215 # PostsController POST create without :via_quickpost with valid params PostsController POST create without :via_quickpost with valid params success json when post requires approval notifies the user | |
rspec ./spec/controllers/posts_controller_spec.rb:224 # PostsController POST create without :via_quickpost with valid params PostsController POST create without :via_quickpost with valid params success json when post is denied for containing blocked words notifies the user | |
rspec ./spec/controllers/posts_controller_spec.rb:234 # PostsController POST create without :via_quickpost with valid params PostsController POST create without :via_quickpost with valid params success json when post does not require approval notifies the user | |
rspec ./spec/controllers/posts_controller_spec.rb:254 # PostsController POST create with invalid params renders new | |
rspec ./spec/controllers/posts_controller_spec.rb:259 # PostsController POST create with invalid params notifies the user of all model errors | |
rspec ./spec/controllers/posts_controller_spec.rb:269 # PostsController POST create PostsController POST create with invalid params json notifies the user of all model errors | |
rspec ./spec/controllers/posts_controller_spec.rb:286 # PostsController POST delete deletes post, notifies user and redirects back | |
rspec ./spec/controllers/posts_controller_spec.rb:293 # PostsController PostsController POST delete format => :json responds properly when successful | |
rspec ./spec/controllers/posts_controller_spec.rb:302 # PostsController PostsController POST delete format => :json responds properly when unsuccessful | |
rspec ./spec/controllers/posts_controller_spec.rb:323 # PostsController deliver_notifications delivers emails to notifiable users | |
rspec ./spec/controllers/posts_controller_spec.rb:330 # PostsController deliver_notifications does not deliver emails if passed false | |
rspec ./spec/controllers/posts_controller_spec.rb:345 # PostsController post exposure with :via_quickpost creates an instance of Posts | |
rspec ./spec/controllers/posts_controller_spec.rb:355 # PostsController post exposure without :via_quickpost creates an instance of Post | |
rspec ./spec/controllers/sessions_controller_spec.rb:29 # SessionsController POST#create without networks requiring re-authentication does not create a new session for an invalid user | |
rspec ./spec/controllers/sessions_controller_spec.rb:24 # SessionsController POST#create SessionsController POST#create without networks requiring re-authentication creates a new session for a valid user assigns session[:user_id] | |
rspec ./spec/controllers/sessions_controller_spec.rb:37 # SessionsController POST#create with networks requiring re-authentication redirects to re_authenticate_networks_path | |
rspec ./spec/controllers/sessions_controller_spec.rb:51 # SessionsController GET#destroy logs out the user | |
rspec ./spec/controllers/shared_images_controller_spec.rb:9 # SharedImagesController show exposes image | |
rspec ./spec/controllers/shared_images_controller_spec.rb:27 # SharedImagesController create exposes created image | |
rspec ./spec/controllers/shared_images_controller_spec.rb:33 # SharedImagesController create responds with json containing the shortened url, image id, message, and success boolean | |
rspec ./spec/controllers/shared_images_controller_spec.rb:39 # SharedImagesController SharedImagesController create failure responds with failure message | |
rspec ./spec/controllers/statistics_controller_spec.rb:14 # StatisticsController exposures exposes facebook_rollup_stats | |
rspec ./spec/controllers/statistics_controller_spec.rb:20 # StatisticsController exposures exposes facebook_demographic_stats | |
rspec ./spec/controllers/statistics_controller_spec.rb:27 # StatisticsController StatisticsController exposures networks_by_type scopes stat_networks by network_type | |
rspec ./spec/controllers/statistics_controller_spec.rb:38 # StatisticsController args_for_stats merges params[:active_networks] into args | |
rspec ./spec/controllers/statistics_controller_spec.rb:44 # StatisticsController args_for_stats has a from_date of a week ago and a to_date of today by default | |
rspec ./spec/controllers/statistics_controller_spec.rb:52 # StatisticsController args_for_stats parses params[from_date] and to_date using chronic if present | |
rspec ./spec/controllers/statistics_controller_spec.rb:64 # StatisticsController index renders index | |
rspec ./spec/controllers/statistics_controller_spec.rb:70 # StatisticsController StatisticsController index csv renders a csv file with args_for_stats | |
rspec ./spec/controllers/statistics_controller_spec.rb:85 # StatisticsController StatisticsController index json renders a json object with facebook_rollup_stats facebook_demographic_stats and facebook_demographic_rollup_stats keys | |
rspec ./spec/controllers/twitters_controller_spec.rb:26 # TwittersController GET callback authorized authorizes the twitter credentials and creates or updates the twitter account user Twitter.identify | |
rspec ./spec/controllers/twitters_controller_spec.rb:43 # TwittersController GET callback authorized redirects to re_authenticate_networks if additional networks require re-authentication | |
rspec ./spec/controllers/users_controller_spec.rb:15 # UsersController index responds with a 200 | |
rspec ./spec/controllers/users_controller_spec.rb:19 # UsersController index exposes users | |
rspec ./spec/controllers/users_controller_spec.rb:30 # UsersController show responds with a 200 | |
rspec ./spec/controllers/users_controller_spec.rb:34 # UsersController show exposes user | |
rspec ./spec/controllers/users_controller_spec.rb:44 # UsersController new responds with a 200 | |
rspec ./spec/controllers/users_controller_spec.rb:48 # UsersController new exposes a new user | |
rspec ./spec/controllers/users_controller_spec.rb:68 # UsersController create success responds with a redirect to the user index | |
rspec ./spec/controllers/users_controller_spec.rb:72 # UsersController create success notifies user of success | |
rspec ./spec/controllers/users_controller_spec.rb:77 # UsersController create UsersController create success with params[:organization_id] redirects to organization user index | |
rspec ./spec/controllers/users_controller_spec.rb:91 # UsersController create failure renders new | |
rspec ./spec/controllers/users_controller_spec.rb:95 # UsersController create failure notifies user of failure | |
rspec ./spec/controllers/users_controller_spec.rb:115 # UsersController update success responds with a redirect to the edit page | |
rspec ./spec/controllers/users_controller_spec.rb:119 # UsersController update success notifies user of success | |
rspec ./spec/controllers/users_controller_spec.rb:124 # UsersController update UsersController update success with params[:organization_id] redirects to organization user edit page | |
rspec ./spec/controllers/users_controller_spec.rb:138 # UsersController update failure renders edit | |
rspec ./spec/controllers/users_controller_spec.rb:142 # UsersController update failure notifies user of failure | |
rspec ./spec/controllers/users_controller_spec.rb:160 # UsersController destroy success redirects to user index | |
rspec ./spec/controllers/users_controller_spec.rb:164 # UsersController destroy success notifies user of success | |
rspec ./spec/controllers/users_controller_spec.rb:169 # UsersController destroy UsersController destroy success with params[:organization_id] redirects to organization users index | |
rspec ./spec/controllers/users_controller_spec.rb:182 # UsersController destroy failure redirects to user index | |
rspec ./spec/controllers/users_controller_spec.rb:186 # UsersController destroy failure notifies user of failure | |
rspec ./spec/controllers/users_controller_spec.rb:191 # UsersController destroy UsersController destroy failure with params[:organization_id] redirects to organization users index | |
rspec ./spec/models/ability_spec.rb:15 # Ability as an executive should allow managing of the user's organization | |
rspec ./spec/models/ability_spec.rb:22 # Ability as an executive should not allow managing of other organizations | |
rspec ./spec/models/ability_spec.rb:29 # Ability as an executive should allow managing of the organization users | |
rspec ./spec/models/ability_spec.rb:36 # Ability as an executive should allow managing of another organizations users | |
rspec ./spec/models/ability_spec.rb:54 # Ability as an admin should allow the admin to read the Organization | |
rspec ./spec/models/ability_spec.rb:57 # Ability as an admin should allow the admin to update the Organization | |
rspec ./spec/models/ability_spec.rb:60 # Ability as an admin should not allow the admin to destroy the Organization | |
rspec ./spec/models/ability_spec.rb:64 # Ability as an admin should allow the admin to create a new user | |
rspec ./spec/models/ability_spec.rb:68 # Ability as an admin should allow the admin to create a user | |
rspec ./spec/models/ability_spec.rb:71 # Ability as an admin should allow the admin to read a user | |
rspec ./spec/models/ability_spec.rb:74 # Ability as an admin should allow the admin to update a user | |
rspec ./spec/models/ability_spec.rb:77 # Ability as an admin should allow the admin to destory a user | |
rspec ./spec/models/ability_spec.rb:80 # Ability as an admin should allow managing of another organizations users | |
rspec ./spec/models/ability_spec.rb:97 # Ability as a user should be able to read the organization | |
rspec ./spec/models/ability_spec.rb:100 # Ability as a user should not be able to read another organization | |
rspec ./spec/models/ability_spec.rb:104 # Ability as a user should be able to read the user | |
rspec ./spec/models/ability_spec.rb:107 # Ability as a user should be able to update the user | |
rspec ./spec/models/ability_spec.rb:110 # Ability as a user should not be able to destory the user | |
rspec ./spec/models/ability_spec.rb:113 # Ability as a user should not be able to read a user in another organization | |
rspec ./spec/support/shared_examples/flags_networks_for_re_authentication_on_app_credential_change.rb:19 # Brand behaves like an object which flags networks for re-authentication when network app credentials change flags networks for re-authentication when facebook app credentials change | |
rspec ./spec/models/brand_spec.rb:34 # Brand users_by_role returns users in roles passed in | |
rspec ./spec/models/brand_spec.rb:50 # Brand reviewers returns a list of brand reviewers | |
rspec ./spec/models/brand_spec.rb:59 # Brand reviewer_ids= updates user_brands of users passed in to have a role of reviewer | |
rspec ./spec/models/brand_spec.rb:70 # Brand reviewer_ids= updates user_brands of users not passed in to have a role of user | |
rspec ./spec/models/brand_spec.rb:97 # Brand posts_to_be_reviewed returns all unapproved unmoderated posts in the networks passed in which also belong to the current brand | |
rspec ./spec/models/brand_spec.rb:111 # Brand posts_to_be_reviewed returns all unapproved unmoderated posts which belong to the current brand | |
rspec ./spec/spec_helper.rb:138 # Brand Security find is not granted for user | |
rspec ./spec/spec_helper.rb:138 # Brand Security find is not granted for executive | |
rspec ./spec/spec_helper.rb:138 # Brand Security find is granted for admin | |
rspec ./spec/spec_helper.rb:138 # Brand Security Brand Security find users who belong to the brand's organization is granted for user | |
rspec ./spec/spec_helper.rb:138 # Brand Security Brand Security find users who belong to the brand's organization is granted for executive | |
rspec ./spec/spec_helper.rb:138 # Brand Security Brand Security find users who belong to the brand's organization is granted for admin | |
rspec ./spec/spec_helper.rb:138 # Brand Security update is granted for user | |
rspec ./spec/spec_helper.rb:138 # Brand Security update is granted for executive | |
rspec ./spec/spec_helper.rb:138 # Brand Security update is granted for admin | |
rspec ./spec/models/diffable_version_spec.rb:20 # DiffableVersion current_item gets version at change | |
rspec ./spec/models/diffable_version_spec.rb:35 # DiffableVersion diff is automatically set to the same value as diff_changes before_create | |
rspec ./spec/models/diffable_version_spec.rb:47 # DiffableVersion diff_changes diffs a given version's changes against the previous version | |
rspec ./spec/models/diffable_version_spec.rb:60 # DiffableVersion diff_changes returns an empty hash if the item cannot be reified | |
rspec ./spec/models/diffable_version_spec.rb:81 # DiffableVersion unique_whodunnit_ips return an array of unique ip addresses from versions belonging to the passed in user | |
rspec ./spec/models/diffable_version_spec.rb:92 # DiffableVersion unique_whodunnit_ips return an array of unique ip addresses from versions belonging to all users if no user is passed in | |
rspec ./spec/models/facebook_spec.rb:96 # FacebookNetwork with sub_type 'User'#identify adds network to brand passed | |
rspec ./spec/models/facebook_spec.rb:100 # FacebookNetwork with sub_type 'User'#identify identifies the user | |
rspec ./spec/models/facebook_spec.rb:106 # FacebookNetwork with sub_type 'User'#identify does not match another user | |
rspec ./spec/models/facebook_spec.rb:112 # FacebookNetwork with sub_type 'User'#identify updates the token creator and parent_id if a matching network is found in the brand | |
rspec ./spec/models/facebook_spec.rb:144 # FacebookNetwork with sub_type 'User'#identify assigns user to have network | |
rspec ./spec/models/facebook_spec.rb:150 # FacebookNetwork with sub_type 'User' create_pages creates and attaches each page belonging to parent network to parent network | |
rspec ./spec/models/facebook_spec.rb:230 # FacebookNetwork#publish with a status message posts to network | |
rspec ./spec/models/facebook_spec.rb:238 # FacebookNetwork#publish with a comment on a post message posts to network | |
rspec ./spec/models/facebook_spec.rb:246 # FacebookNetwork#publish with a photo posts to network with an image attachment containing the url to the image | |
rspec ./spec/models/network_spec.rb:128 # Network scopes pending_re_authentication(user) takes a user argument and returns brands belonging to that user which are pending re-authentication | |
rspec ./spec/models/network_spec.rb:210 # Network.all_ever returns array of readonly Network objects | |
rspec ./spec/models/network_spec.rb:218 # Network.all_ever includes networks that were edited or deleted | |
rspec ./spec/models/network_spec.rb:227 # Network.all_ever scopes to brands | |
rspec ./spec/models/network_stat_spec.rb:36 # NetworkStat NetworkStat.aggregate_stats joins on network_brands if network_brands is included in where clause | |
rspec ./spec/support/shared_examples/flags_networks_for_re_authentication_on_app_credential_change.rb:19 # Organization behaves like an object which flags networks for re-authentication when network app credentials change flags networks for re-authentication when facebook app credentials change | |
rspec ./spec/models/post_spec.rb:19 # Post has_paper_trail | |
rspec ./spec/models/post_spec.rb:23 # Post uses chronic to parse published_at | |
rspec ./spec/models/post_spec.rb:123 # Post removes shared images from post if their shortened url does not appear in the post | |
rspec ./spec/models/post_spec.rb:44 # Post scopes scheduled_posts scopes query to only include scheduled posts which have not been delivered | |
rspec ./spec/models/post_spec.rb:50 # Post scopes scheduled_posts does not include posts where their associated network does not exist | |
rspec ./spec/models/post_spec.rb:56 # Post scopes scheduled_posts does not include posts where their associated user does not exist | |
rspec ./spec/models/post_spec.rb:63 # Post scopes scheduled_posts does not include posts where their associated brand does not exist | |
rspec ./spec/models/post_spec.rb:69 # Post scopes scheduled_posts does not include denied posts | |
rspec ./spec/models/post_spec.rb:94 # Post scopes by_brands limits posts to brands passed | |
rspec ./spec/models/post_spec.rb:115 # Post shared_image_ids= assigns given shared_images to post by their ids | |
rspec ./spec/models/post_spec.rb:144 # Post in_reply_to_text= unescapes text passed in | |
rspec ./spec/models/post_spec.rb:152 # Post in_reply_to fetches network post with remote_id correspondent to in_reply_to_id | |
rspec ./spec/models/post_spec.rb:165 # Post originator_name returns a blank string if the post has not been changed | |
rspec ./spec/models/post_spec.rb:169 # Post originator_name returns the name of the person who put the post in it's current state if post has been changed | |
rspec ./spec/models/post_spec.rb:177 # Post was_flagged? returns false if a post was not flagged in the past | |
rspec ./spec/models/post_spec.rb:183 # Post was_flagged? returns true if a post was flagged in the past | |
rspec ./spec/models/post_spec.rb:192 # Post is_reply? returns true if in_reply_to_id is present | |
rspec ./spec/models/post_spec.rb:197 # Post is_reply? returns false if in_reply_to_id is not present | |
rspec ./spec/models/post_spec.rb:204 # Post posts_to_be_reviewed returns posts which have been approved or denied less then the required amount based off of compliance_setting.enforce_dual_control | |
rspec ./spec/models/post_spec.rb:235 # Post posts_to_be_reviewed returns all unapproved unmoderated posts in the networks passed in which also belong to the passed in brand | |
rspec ./spec/models/post_spec.rb:250 # Post set_approved sets Post#approved to true if NO review level | |
rspec ./spec/models/post_spec.rb:256 # Post set_approved sets Post#approved to false if ALL review level | |
rspec ./spec/models/post_spec.rb:262 # Post set_approved sets Post#approved to false if Post#message contains flagged content and FLAGGED review_level | |
rspec ./spec/models/post_spec.rb:272 # Post set_approved sets Post#approved to true if Post#message does not contain flagged content and review level is 'flagged' | |
rspec ./spec/models/post_spec.rb:284 # Post moderated_by? returns true if post was moderated by the given user | |
rspec ./spec/models/post_spec.rb:290 # Post moderated_by? returns false if post was not moderated by the given user | |
rspec ./spec/models/post_spec.rb:301 # Post moderate approves post if passed true | |
rspec ./spec/models/post_spec.rb:306 # Post moderate denies post if passed false | |
rspec ./spec/models/post_spec.rb:312 # Post moderate only allows a give user to moderate a post once | |
rspec ./spec/models/post_spec.rb:327 # Post moderated_status displays posts which were not initially flagged as Approved | |
rspec ./spec/models/post_spec.rb:334 # Post moderated_status displays unmoderated posts as In review | |
rspec ./spec/models/post_spec.rb:338 # Post moderated_status displays posts with blocked words as denied | |
rspec ./spec/models/post_spec.rb:345 # Post moderated_status displays approved when one user approves | |
rspec ./spec/models/post_spec.rb:350 # Post moderated_status displays denied when one user denies | |
rspec ./spec/models/post_spec.rb:361 # Post Post moderated_status with dual control enabled displays posts which were not initially flagged as Approved | |
rspec ./spec/models/post_spec.rb:369 # Post Post moderated_status with dual control enabled displays In review when one user approves | |
rspec ./spec/models/post_spec.rb:374 # Post Post moderated_status with dual control enabled displays In review when one user denies | |
rspec ./spec/models/post_spec.rb:379 # Post Post moderated_status with dual control enabled displays approved when two users approve and one user denies | |
rspec ./spec/models/post_spec.rb:386 # Post Post moderated_status with dual control enabled displays approved when two users approve | |
rspec ./spec/models/post_spec.rb:392 # Post Post moderated_status with dual control enabled displays denied when two users deny | |
rspec ./spec/models/post_spec.rb:398 # Post Post moderated_status with dual control enabled displays denied when two users deny and on user approves | |
rspec ./spec/models/post_spec.rb:413 # Post denied? returns true if one person denies the post | |
rspec ./spec/models/post_spec.rb:421 # Post denied? returns false if user changes something other then status | |
rspec ./spec/models/post_spec.rb:434 # Post Post denied? with dual control enabled returns false if only one person denies the post | |
rspec ./spec/models/post_spec.rb:442 # Post Post denied? with dual control enabled returns true if two people deny the post | |
rspec ./spec/models/post_spec.rb:459 # Post approved? returns true if one person approves the post | |
rspec ./spec/models/post_spec.rb:473 # Post Post approved? with dual control enabled returns false if only one person approves the post | |
rspec ./spec/models/post_spec.rb:481 # Post Post approved? with dual control enabled returns true if two people approve the post | |
rspec ./spec/models/post_spec.rb:503 # Post flagged_words lists flagged content irrespective of word boundaries when present | |
rspec ./spec/models/post_spec.rb:508 # Post flagged_words lists flagged words with symbols as flagged | |
rspec ./spec/models/post_spec.rb:513 # Post flagged_words does not list flagged content when none is present | |
rspec ./spec/models/post_spec.rb:527 # Post flagged? returns true if Post#message contains flagged content | |
rspec ./spec/models/post_spec.rb:532 # Post flagged? returns false if Post#message does not contain flagged content | |
rspec ./spec/models/post_spec.rb:538 # Post flagged? fails sets versions reason to contain flagged words when flagged | |
rspec ./spec/models/post_spec.rb:554 # Post denying content against SocialVolt filth filter saves post when denied | |
rspec ./spec/models/post_spec.rb:561 # Post denying content against SocialVolt filth filter sets status to Denied when brand compliance setting IS NOT zero | |
rspec ./spec/models/post_spec.rb:568 # Post denying content against SocialVolt filth filter does not deny when brand compliance setting IS set to zero | |
rspec ./spec/models/post_spec.rb:583 # Post denying content against custom keywords and phrases sets status to Denied when KEYWORD is included | |
rspec ./spec/models/post_spec.rb:589 # Post denying content against custom keywords and phrases sets status to Denied when PHRASE is included | |
rspec ./spec/models/post_spec.rb:596 # Post denying content against custom keywords and phrases sets status to Denied when a blocked word containing a symbol is included | |
rspec ./spec/models/post_spec.rb:608 # Post denying content against custom keywords and phrases does not set status to Denied when no keywords or phrases are included | |
rspec ./spec/models/post_spec.rb:619 # Post#set_status shows pending posts as "Pending" | |
rspec ./spec/models/post_spec.rb:662 # Post#set_status shows flagged posts as "Flagged" | |
rspec ./spec/models/post_spec.rb:669 # Post#set_status shows edited posts posts as "Edited" | |
rspec ./spec/models/post_spec.rb:677 # Post#set_status shows approved posts as "Approved" | |
rspec ./spec/models/post_spec.rb:686 # Post#set_status shows approved posts as "Approved" when brand review_level is set to "none" | |
rspec ./spec/models/post_spec.rb:693 # Post#set_status shows posts denied once and then approved once as "Approved" | |
rspec ./spec/models/post_spec.rb:702 # Post#set_status shows denied posts as "Denied" | |
rspec ./spec/models/post_spec.rb:710 # Post#set_status shows posts approved once and then denied once as "Denied" | |
rspec ./spec/models/post_spec.rb:719 # Post#set_status shows delivered posts as "Delivered" | |
rspec ./spec/models/post_spec.rb:624 # Post Post#set_status post with attached images does not flag post for review if shared images are deleted after being attached | |
rspec ./spec/models/post_spec.rb:632 # Post Post#set_status post with attached images flags post for review if compliance_setting is set to review none | |
rspec ./spec/models/post_spec.rb:641 # Post Post#set_status post with attached images flags post for review if compliance_setting is set to review flagged even if post has no flagged content | |
rspec ./spec/models/post_spec.rb:651 # Post Post#set_status post with attached images approves post when post is approved after create | |
rspec ./spec/models/post_spec.rb:731 # Post#pretty_status displays status:Flagged as "In review" | |
rspec ./spec/models/post_spec.rb:736 # Post#pretty_status displays all other statuses as they appear | |
rspec ./spec/models/post_spec.rb:754 # Post#versions sets version reason on save | |
rspec ./spec/models/post_spec.rb:758 # Post#versions sets version status on save | |
rspec ./spec/models/post_spec.rb:762 # Post#versions sets version network_type on save | |
rspec ./spec/models/post_spec.rb:766 # Post#versions sets version network_name on save | |
rspec ./spec/models/post_spec.rb:770 # Post#versions sets version network_name on save | |
rspec ./spec/models/post_spec.rb:774 # Post#versions sets version whodunnit_ip on save | |
rspec ./spec/models/post_spec.rb:788 # Post.posts_to_enqueue does not include unapproved posts | |
rspec ./spec/models/post_spec.rb:797 # Post Post.posts_to_enqueue given an approved post includes posts created and updated within last hour | |
rspec ./spec/models/post_spec.rb:801 # Post Post.posts_to_enqueue given an approved post includes posts created before last hour and updated within last hour | |
rspec ./spec/models/post_spec.rb:807 # Post Post.posts_to_enqueue given an approved post includes posts scheduled any time before now and updated in last hour | |
rspec ./spec/models/post_spec.rb:813 # Post Post.posts_to_enqueue given an approved post excludes published posts | |
rspec ./spec/models/post_spec.rb:820 # Post Post.posts_to_enqueue given an approved post excludes posts created and updated before last hour | |
rspec ./spec/models/post_spec.rb:827 # Post Post.posts_to_enqueue given an approved post excludes posts scheduled before last hour and updated before last hour | |
rspec ./spec/models/post_spec.rb:834 # Post Post.posts_to_enqueue given an approved post excludes posts with a failure count >= Post.retry_limit | |
rspec ./spec/models/post_spec.rb:844 # Post Post.posts_to_enqueue given an approved post excludes posts belonging to networks flagged for re-authentication | |
rspec ./spec/models/post_spec.rb:868 # Post#reset_status! removes associated post_reviews | |
rspec ./spec/models/post_spec.rb:873 # Post#reset_status! sets status to pending | |
rspec ./spec/models/post_spec.rb:878 # Post#reset_status! sets approved to false | |
rspec ./spec/models/post_spec.rb:883 # Post#reset_status! sets moderated_status to In Review | |
rspec ./spec/models/post_spec.rb:888 # Post#reset_status! empties raw_response | |
rspec ./spec/models/post_spec.rb:907 # Post#create_on_network with a Twitter network posts to network | |
rspec ./spec/models/post_spec.rb:915 # Post#create_on_network Post#create_on_network with a Twitter network with a post which has a status other then Approved does not publish post | |
rspec ./spec/models/post_spec.rb:925 # Post#create_on_network Post#create_on_network with a Twitter network with a post which has a moderated status other then Approved does not publish post | |
rspec ./spec/models/post_spec.rb:941 # Post#create_on_network with a Facebook User network posts to network | |
rspec ./spec/models/post_spec.rb:950 # Post#create_on_network Post#create_on_network with a Facebook User network with a post which has a moderated status other then Approved does not publish post | |
rspec ./spec/models/post_spec.rb:965 # Post reset_status after update calls reset_status if status changes | |
rspec ./spec/models/post_spec.rb:971 # Post reset_status after update calls reset_status if post.reset_status = true | |
rspec ./spec/models/post_spec.rb:977 # Post reset_status after update does not call it otherwise | |
rspec ./spec/models/post_spec.rb:984 # Post deliver_retry_failure_notifications does not deliver mail when post is unpublished | |
rspec ./spec/models/post_spec.rb:989 # Post deliver_retry_failure_notifications delivers mail to publisher when post has failed to deliver and is now delivered | |
rspec ./spec/models/railsy_version_spec.rb:5 # RailsyVersion only queries versions of item_type "Post" for brand.post_versions | |
rspec ./spec/models/shared_image_spec.rb:10 # SharedImage attached image is attached | |
rspec ./spec/models/shared_image_spec.rb:14 # SharedImage attached image only allows jpegs, pngs and gifs | |
rspec ./spec/models/shared_image_spec.rb:33 # SharedImage shortened_url shortens url using bitly | |
rspec ./spec/models/shared_image_spec.rb:37 # SharedImage shortened_url stores stores bitly url in database | |
rspec ./spec/models/shared_image_spec.rb:42 # SharedImage shortened_url fetches bitly url from database on subsequent calls | |
rspec ./spec/models/shared_image_spec.rb:49 # SharedImage image_url returns the large image path prepended with the current IMAGE_SERVER_URL | |
rspec ./spec/models/twitter_spec.rb:39 # TwitterNetwork identify returns a newly created TwitterNetwork instance and assigns it to passed in brand and user if one doesn't already exist | |
rspec ./spec/models/twitter_spec.rb:50 # TwitterNetwork identify updates the token, secret, and owner of the pre-existing network if one is found within the passed brand | |
rspec ./spec/models/twitter_spec.rb:91 # TwitterNetwork TwitterNetwork publish with a direct message posts to network | |
rspec ./spec/models/twitter_spec.rb:100 # TwitterNetwork TwitterNetwork publish with a public message posts to network | |
rspec ./spec/models/twitter_spec.rb:110 # TwitterNetwork TwitterNetwork publish with a reply to a public message posts to network | |
rspec ./spec/models/user_spec.rb:97 # User has_paper_trail | |
rspec ./spec/models/user_spec.rb:101 # User has a name | |
rspec ./spec/models/user_spec.rb:16 # User instance is valid | |
rspec ./spec/models/user_spec.rb:17 # User instance is valid | |
rspec ./spec/models/user_spec.rb:18 # User instance is valid | |
rspec ./spec/models/user_spec.rb:19 # User instance is valid | |
rspec ./spec/models/user_spec.rb:21 # User instance is valid | |
rspec ./spec/models/user_spec.rb:24 # User instance is valid | |
rspec ./spec/models/user_spec.rb:26 # User instance is valid | |
rspec ./spec/models/user_spec.rb:43 # User state machine is pending by default | |
rspec ./spec/models/user_spec.rb:47 # User state machine returns false if not active | |
rspec ./spec/models/user_spec.rb:51 # User state machine returns false if not suspended | |
rspec ./spec/models/user_spec.rb:55 # User state machine changes user state to active if state is pending | |
rspec ./spec/models/user_spec.rb:61 # User state machine changes user state to active if state is suspended | |
rspec ./spec/models/user_spec.rb:67 # User state machine returns true if state is active | |
rspec ./spec/models/user_spec.rb:72 # User state machine changes user state to pending if state is active | |
rspec ./spec/models/user_spec.rb:78 # User state machine changes user state to pending if state is suspended | |
rspec ./spec/models/user_spec.rb:84 # User state machine changes user state to suspended if active | |
rspec ./spec/models/user_spec.rb:90 # User state machine returns true if state is suspended | |
rspec ./spec/models/user_spec.rb:108 # User creation generates a random token | |
rspec ./spec/models/user_spec.rb:112 # User creation has a 'pending' state | |
rspec ./spec/models/user_spec.rb:116 # User creation delivers an activation email | |
rspec ./spec/models/user_spec.rb:128 # User self.notifiable returns users who are above role "user" who have set receive_notification_email to true | |
rspec ./spec/models/user_spec.rb:148 # User avatar_url accepts an argument which specifies the size of avatar to return | |
rspec ./spec/models/user_spec.rb:152 # User avatar_url returns the url for a 32*32 avatar by default | |
rspec ./spec/models/user_spec.rb:158 # User user_brands_attributes= rejects attributes which have a nil brand_id | |
rspec ./spec/models/user_spec.rb:168 # User brand_role returns user role for brand passed in | |
rspec ./spec/models/user_spec.rb:176 # User brand_role? returns true if user is in role for brand passed in | |
rspec ./spec/models/user_spec.rb:190 # User brand_member? returns true or false based on their brand membership | |
rspec ./spec/models/user_spec.rb:200 # User network_member? returns true or false based on their network membership | |
rspec ./spec/models/user_spec.rb:210 # User create password should have a password | |
rspec ./spec/models/user_spec.rb:224 # User authentication should not be nil | |
rspec ./spec/models/user_spec.rb:228 # User authentication should match user | |
rspec ./spec/models/user_spec.rb:232 # User authentication is case insenative to email | |
rspec ./spec/models/user_spec.rb:239 # User authentication regenerates a random_token | |
rspec ./spec/models/user_spec.rb:247 # User random_tokenize generates a random token | |
rspec ./spec/models/user_spec.rb:309 # User can_review? returns false if the user is site-wide user and user in the brand | |
rspec ./spec/models/user_spec.rb:315 # User can_review? returns false if the user owns the post, is site-wide user and user in the brand | |
rspec ./spec/models/user_spec.rb:267 # User User can_review? with an admin user returns true if the user has not moderated the post | |
rspec ./spec/models/user_spec.rb:271 # User User can_review? with an admin user returns false if the user has moderated the post | |
rspec ./spec/models/user_spec.rb:276 # User User can_review? with an admin user returns true if the user is the author | |
rspec ./spec/models/user_spec.rb:267 # User User can_review? with an executive user returns true if the user has not moderated the post | |
rspec ./spec/models/user_spec.rb:271 # User User can_review? with an executive user returns false if the user has moderated the post | |
rspec ./spec/models/user_spec.rb:276 # User User can_review? with an executive user returns true if the user is the author | |
rspec ./spec/models/user_spec.rb:286 # User User can_review? with a user who has the role brand_admin in the post's brand returns true if the user has not moderated the post | |
rspec ./spec/models/user_spec.rb:292 # User User can_review? with a user who has the role brand_admin in the post's brand returns false if the user has moderated the post | |
rspec ./spec/models/user_spec.rb:299 # User User can_review? with a user who has the role brand_admin in the post's brand returns true if the user is the author | |
rspec ./spec/models/user_spec.rb:286 # User User can_review? with a user who has the role reviewer in the post's brand returns true if the user has not moderated the post | |
rspec ./spec/models/user_spec.rb:292 # User User can_review? with a user who has the role reviewer in the post's brand returns false if the user has moderated the post | |
rspec ./spec/models/user_spec.rb:299 # User User can_review? with a user who has the role reviewer in the post's brand returns true if the user is the author | |
rspec ./spec/models/user_spec.rb:329 # User can_delete? given a post argument returns false if user is not author or admin | |
rspec ./spec/models/user_spec.rb:335 # User can_delete? given a post argument returns false if user role qualifies but post is delivered | |
rspec ./spec/models/user_spec.rb:342 # User can_delete? given a post argument returns true if user role qualifies and post is undelivered | |
rspec ./spec/models/user_spec.rb:361 # User roles should not be an executive | |
rspec ./spec/models/user_spec.rb:365 # User roles should be an executive | |
rspec ./spec/requests/inboxes_spec.rb:24 # Inbox displays inbox link on timeline for brand authors | |
rspec ./spec/requests/organizations/reports/account_activity_reports_spec.rb:27 # Organization account activity reports can be ordered by clicking on a certain column header | |
rspec ./spec/requests/organizations/reports/account_activity_reports_spec.rb:41 # Organization account activity reports orders by Time by default | |
rspec ./spec/requests/organizations/reports/account_activity_reports_spec.rb:49 # Organization account activity reports can be filtered by submitting form for filters | |
rspec ./spec/requests/organizations/reports/account_activity_reports_spec.rb:67 # Organization account activity reports options to filter to users, ip_addresses, and networks only include those that the logged in user has access to | |
rspec ./spec/requests/organizations/reports/account_activity_reports_spec.rb:91 # Organization account activity reports downloads a CSV of the report | |
rspec ./spec/requests/organizations/reports/account_activity_reports_spec.rb:102 # Organization account activity reports downloads a CSV of the report while ordered by Time | |
rspec ./spec/requests/organizations/reports/account_activity_reports_spec.rb:102 # Organization account activity reports downloads a CSV of the report while ordered by Reviewer | |
rspec ./spec/requests/organizations/reports/account_activity_reports_spec.rb:102 # Organization account activity reports downloads a CSV of the report while ordered by Platform | |
rspec ./spec/requests/organizations/reports/account_activity_reports_spec.rb:102 # Organization account activity reports downloads a CSV of the report while ordered by Account | |
rspec ./spec/requests/organizations/reports/account_activity_reports_spec.rb:102 # Organization account activity reports downloads a CSV of the report while ordered by Status | |
rspec ./spec/support/shared_examples/reports_that_filter_by_brand.rb:14 # Organization account activity reports it should behave like reports that filter by brand filters to selected brand | |
rspec ./spec/requests/organizations/reports/posts_by_status_reports_spec.rb:23 # Posts by status reports displays posts of status type specified by user | |
rspec ./spec/requests/organizations/reports/posts_by_status_reports_spec.rb:39 # Posts by status reports can be ordered by clicking on a certain column header | |
rspec ./spec/requests/organizations/reports/posts_by_status_reports_spec.rb:53 # Posts by status reports orders by Time by default | |
rspec ./spec/requests/organizations/reports/posts_by_status_reports_spec.rb:61 # Posts by status reports downloads a CSV of the report | |
rspec ./spec/support/shared_examples/reports_that_filter_by_brand.rb:14 # Posts by status reports it should behave like reports that filter by brand filters to selected brand | |
rspec ./spec/requests/organizations/reports/scheduled_posts_reports_spec.rb:22 # Organization scheduled posts reports can be ordered by clicking on a certain column header | |
rspec ./spec/requests/organizations/reports/scheduled_posts_reports_spec.rb:36 # Organization scheduled posts reports orders by Scheduled by default | |
rspec ./spec/requests/organizations/reports/scheduled_posts_reports_spec.rb:44 # Organization scheduled posts reports downloads a CSV of the report | |
rspec ./spec/support/shared_examples/reports_that_filter_by_brand.rb:14 # Organization scheduled posts reports it should behave like reports that filter by brand filters to selected brand | |
rspec ./spec/requests/organizations/reports/system_activity_reports_spec.rb:25 # Organization system activity reports can be ordered by clicking on a certain column header | |
rspec ./spec/requests/organizations/reports/system_activity_reports_spec.rb:39 # Organization system activity reports orders by Time by default | |
rspec ./spec/requests/organizations/reports/system_activity_reports_spec.rb:47 # Organization system activity reports downloads a CSV of the report | |
rspec ./spec/support/shared_examples/reports_that_filter_by_brand.rb:14 # Organization system activity reports it should behave like reports that filter by brand filters to selected brand | |
rspec ./spec/requests/organizations_spec.rb:24 # Organizations displays inbox link on timeline for brand authors | |
rspec ./spec/requests/users_spec.rb:15 # Users can be created by submitting form | |
real 1m48.090s | |
user 1m22.064s | |
sys 0m7.174s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment