Skip to content

Instantly share code, notes, and snippets.

@hartator
Created August 6, 2015 16:22
Show Gist options
  • Select an option

  • Save hartator/3e9708da6b9e7d3df382 to your computer and use it in GitHub Desktop.

Select an option

Save hartator/3e9708da6b9e7d3df382 to your computer and use it in GitHub Desktop.
➜ Rallyhood-Rails git:(add-nylas-for-email-contacts) ✗ bundle exec rspec spec/features
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
Randomized with seed 38308
F.FF.FFF.F.FF..F.FFFFFFFFF..........The "fb-root" div has not been created, auto-creating
.
Failures:
1) Rally Gates hitting the gate while not logged in without a user token present allows existing users to join public rallies (G3 via G2)
Failure/Error: Unable to find matching line from backtrace
ActiveRecord::RecordNotFound:
Couldn't find Rally with 'id'=1 [WHERE (rallies.archived = false) AND `rallies`.`deleted_at` IS NULL]
# ./app/controllers/application_controller.rb:250:in `set_ralliables'
2) Rally Gates hitting the gate while not logged in without a user token present allows non users to create an account and join public rallies (via G4)
Failure/Error: Unable to find matching line from backtrace
ActiveRecord::RecordNotFound:
Couldn't find Rally with 'id'=1 [WHERE (rallies.archived = false) AND `rallies`.`deleted_at` IS NULL]
# ./app/controllers/application_controller.rb:250:in `set_ralliables'
3) Rally Gates hitting the gate while not logged in without a user token present allows existing members to login (via G2)
Failure/Error: Unable to find matching line from backtrace
ActiveRecord::RecordNotFound:
Couldn't find Rally with 'id'=1 [WHERE (rallies.archived = false) AND `rallies`.`deleted_at` IS NULL]
# ./app/controllers/application_controller.rb:250:in `set_ralliables'
4) Rally Gates hitting the gate while not logged in without a user token present allows non users to create an account and accept an invitation (via G12)
Failure/Error: Unable to find matching line from backtrace
ActiveRecord::RecordNotFound:
Couldn't find Rally with 'id'=2 [WHERE (rallies.archived = false) AND `rallies`.`deleted_at` IS NULL]
# ./app/controllers/application_controller.rb:250:in `set_ralliables'
5) Rally Gates hitting the gate while not logged in with a user token present allows invited new users to sign up and accept their invitation (via G13)
Failure/Error: Unable to find matching line from backtrace
ActiveRecord::RecordNotFound:
Couldn't find Rally with 'id'=2 [WHERE (rallies.archived = false) AND `rallies`.`deleted_at` IS NULL]
# ./app/controllers/application_controller.rb:250:in `set_ralliables'
6) Rally Gates hitting the gate while not logged in with a user token present allows invited new users to sign declare to be someone else (via G13)
Failure/Error: Unable to find matching line from backtrace
ActiveRecord::RecordNotFound:
Couldn't find Rally with 'id'=2 [WHERE (rallies.archived = false) AND `rallies`.`deleted_at` IS NULL]
# ./app/controllers/application_controller.rb:250:in `set_ralliables'
7) Rally Gates hitting the gate while not logged in with a user token present allows existing members with user tokens to login (via G3)
Failure/Error: Unable to find matching line from backtrace
ActiveRecord::RecordNotFound:
Couldn't find Rally with 'id'=2 [WHERE (rallies.archived = false) AND `rallies`.`deleted_at` IS NULL]
# ./app/controllers/application_controller.rb:250:in `set_ralliables'
8) Rally Gates hitting the gate while not logged in with a user token present allows invited existing users to login and accept their invitation (via G14)
Failure/Error: Unable to find matching line from backtrace
ActiveRecord::RecordNotFound:
Couldn't find Rally with 'id'=2 [WHERE (rallies.archived = false) AND `rallies`.`deleted_at` IS NULL]
# ./app/controllers/application_controller.rb:250:in `set_ralliables'
9) Rally Gates hitting the gate as a logged in user allows existing users to add an unclaimed invitation email to their account (via G5)
Failure/Error: Unable to find matching line from backtrace
ActiveRecord::RecordNotFound:
Couldn't find Rally with 'id'=2 [WHERE (rallies.archived = false) AND `rallies`.`deleted_at` IS NULL]
# ./app/controllers/application_controller.rb:250:in `set_ralliables'
10) Rally Gates hitting the gate as a logged in user allows invitees to join private rallies (via G1)
Failure/Error: Unable to find matching line from backtrace
ActiveRecord::RecordNotFound:
Couldn't find Rally with 'id'=2 [WHERE (rallies.archived = false) AND `rallies`.`deleted_at` IS NULL]
# ./app/controllers/application_controller.rb:250:in `set_ralliables'
11) Rally Gates hitting the gate as a logged in user allows existing users to login with the email address to which they were invited (via G6)
Failure/Error: Unable to find matching line from backtrace
ActiveRecord::RecordNotFound:
Couldn't find Rally with 'id'=2 [WHERE (rallies.archived = false) AND `rallies`.`deleted_at` IS NULL]
# ./app/controllers/application_controller.rb:250:in `set_ralliables'
12) Livestrong Start Flow show branded New Rally for authenticated browsers with Livestrong user data
Failure/Error: Unable to find matching line from backtrace
ActiveRecord::RecordNotFound:
Couldn't find Rally with 'id'=2 [WHERE (rallies.archived = false) AND `rallies`.`deleted_at` IS NULL]
# ./app/controllers/application_controller.rb:250:in `set_ralliables'
13) Livestrong Start Flow show branded New Rally for authenticated browsers with Livestrong user data behaves like branded landing page is a landing page
Failure/Error: Unable to find matching line from backtrace
ActionView::Template::Error:
No route matches {:action=>"show", :community_id=>"tinyurl_22", :controller=>"rallies", :id=>#<Rally id: nil, title: nil, description: nil, suscription: nil, kind: nil, owner_id: nil, created_at: nil, updated_at: nil, category_id: nil, activity: 0.0, avatar_file_name: nil, avatar_content_type: nil, avatar_file_size: nil, avatar_updated_at: nil, corp_id: nil, deleted_at: nil, invitation_message: nil, avatar_layout: 1, headline: nil, first_time_edited: false, avatar_file: nil, archived: false, vertical: nil, title_x: 0, title_y: 30, disable_notify_immediate: nil, membership_cache_version: 1, created_via: nil>} missing required keys: [:id]
Shared Example Group: "branded landing page" called from ./spec/features/livestrong_start_flow_spec.rb:62
# ./app/views/shared/_html_head.html.haml:20:in `_app_views_shared__html_head_html_haml__3285057685250445301_70149512379400'
# ./app/views/layouts/responsive.html.haml:5:in `_app_views_layouts_responsive_html_haml__2467613834834818290_70149769633720'
# ./app/controllers/rallies_controller.rb:60:in `new'
14) Livestrong Start Flow show branded New Rally for authenticated browsers with Livestrong user data behaves like branded landing page is Livestrong branded
Failure/Error: Unable to find matching line from backtrace
ActionView::Template::Error:
No route matches {:action=>"show", :community_id=>"tinyurl_24", :controller=>"rallies", :id=>#<Rally id: nil, title: nil, description: nil, suscription: nil, kind: nil, owner_id: nil, created_at: nil, updated_at: nil, category_id: nil, activity: 0.0, avatar_file_name: nil, avatar_content_type: nil, avatar_file_size: nil, avatar_updated_at: nil, corp_id: nil, deleted_at: nil, invitation_message: nil, avatar_layout: 1, headline: nil, first_time_edited: false, avatar_file: nil, archived: false, vertical: nil, title_x: 0, title_y: 30, disable_notify_immediate: nil, membership_cache_version: 1, created_via: nil>} missing required keys: [:id]
Shared Example Group: "branded landing page" called from ./spec/features/livestrong_start_flow_spec.rb:62
# ./app/views/shared/_html_head.html.haml:20:in `_app_views_shared__html_head_html_haml__3285057685250445301_70149512379400'
# ./app/views/layouts/responsive.html.haml:5:in `_app_views_layouts_responsive_html_haml__2467613834834818290_70149769633720'
# ./app/controllers/rallies_controller.rb:60:in `new'
15) Livestrong Start Flow show branded New Rally for authenticated browsers with Livestrong user data behaves like branded landing page receives Livestrong vertical and category
Failure/Error: Unable to find matching line from backtrace
ActionView::Template::Error:
No route matches {:action=>"show", :community_id=>"tinyurl_26", :controller=>"rallies", :id=>#<Rally id: nil, title: nil, description: nil, suscription: nil, kind: nil, owner_id: nil, created_at: nil, updated_at: nil, category_id: nil, activity: 0.0, avatar_file_name: nil, avatar_content_type: nil, avatar_file_size: nil, avatar_updated_at: nil, corp_id: nil, deleted_at: nil, invitation_message: nil, avatar_layout: 1, headline: nil, first_time_edited: false, avatar_file: nil, archived: false, vertical: nil, title_x: 0, title_y: 30, disable_notify_immediate: nil, membership_cache_version: 1, created_via: nil>} missing required keys: [:id]
Shared Example Group: "branded landing page" called from ./spec/features/livestrong_start_flow_spec.rb:62
# ./app/views/shared/_html_head.html.haml:20:in `_app_views_shared__html_head_html_haml__3285057685250445301_70149512379400'
# ./app/views/layouts/responsive.html.haml:5:in `_app_views_layouts_responsive_html_haml__2467613834834818290_70149769633720'
# ./app/controllers/rallies_controller.rb:60:in `new'
16) Livestrong Start Flow show branded New Rally for authenticated browsers without Livestrong user data should not have field "owner_first_name"
Failure/Error: Unable to find matching line from backtrace
ActionView::Template::Error:
No route matches {:action=>"show", :community_id=>"tinyurl_28", :controller=>"rallies", :id=>#<Rally id: nil, title: nil, description: nil, suscription: nil, kind: nil, owner_id: nil, created_at: nil, updated_at: nil, category_id: nil, activity: 0.0, avatar_file_name: nil, avatar_content_type: nil, avatar_file_size: nil, avatar_updated_at: nil, corp_id: nil, deleted_at: nil, invitation_message: nil, avatar_layout: 1, headline: nil, first_time_edited: false, avatar_file: nil, archived: false, vertical: nil, title_x: 0, title_y: 30, disable_notify_immediate: nil, membership_cache_version: 1, created_via: nil>} missing required keys: [:id]
# ./app/views/shared/_html_head.html.haml:20:in `_app_views_shared__html_head_html_haml__3285057685250445301_70149512379400'
# ./app/views/layouts/responsive.html.haml:5:in `_app_views_layouts_responsive_html_haml__2467613834834818290_70149769633720'
# ./app/controllers/rallies_controller.rb:60:in `new'
17) Livestrong Start Flow show branded New Rally for authenticated browsers without Livestrong user data behaves like branded landing page receives Livestrong vertical and category
Failure/Error: Unable to find matching line from backtrace
ActionView::Template::Error:
No route matches {:action=>"show", :community_id=>"tinyurl_30", :controller=>"rallies", :id=>#<Rally id: nil, title: nil, description: nil, suscription: nil, kind: nil, owner_id: nil, created_at: nil, updated_at: nil, category_id: nil, activity: 0.0, avatar_file_name: nil, avatar_content_type: nil, avatar_file_size: nil, avatar_updated_at: nil, corp_id: nil, deleted_at: nil, invitation_message: nil, avatar_layout: 1, headline: nil, first_time_edited: false, avatar_file: nil, archived: false, vertical: nil, title_x: 0, title_y: 30, disable_notify_immediate: nil, membership_cache_version: 1, created_via: nil>} missing required keys: [:id]
Shared Example Group: "branded landing page" called from ./spec/features/livestrong_start_flow_spec.rb:56
# ./app/views/shared/_html_head.html.haml:20:in `_app_views_shared__html_head_html_haml__3285057685250445301_70149512379400'
# ./app/views/layouts/responsive.html.haml:5:in `_app_views_layouts_responsive_html_haml__2467613834834818290_70149769633720'
# ./app/controllers/rallies_controller.rb:60:in `new'
18) Livestrong Start Flow show branded New Rally for authenticated browsers without Livestrong user data behaves like branded landing page is a landing page
Failure/Error: Unable to find matching line from backtrace
ActionView::Template::Error:
No route matches {:action=>"show", :community_id=>"tinyurl_32", :controller=>"rallies", :id=>#<Rally id: nil, title: nil, description: nil, suscription: nil, kind: nil, owner_id: nil, created_at: nil, updated_at: nil, category_id: nil, activity: 0.0, avatar_file_name: nil, avatar_content_type: nil, avatar_file_size: nil, avatar_updated_at: nil, corp_id: nil, deleted_at: nil, invitation_message: nil, avatar_layout: 1, headline: nil, first_time_edited: false, avatar_file: nil, archived: false, vertical: nil, title_x: 0, title_y: 30, disable_notify_immediate: nil, membership_cache_version: 1, created_via: nil>} missing required keys: [:id]
Shared Example Group: "branded landing page" called from ./spec/features/livestrong_start_flow_spec.rb:56
# ./app/views/shared/_html_head.html.haml:20:in `_app_views_shared__html_head_html_haml__3285057685250445301_70149512379400'
# ./app/views/layouts/responsive.html.haml:5:in `_app_views_layouts_responsive_html_haml__2467613834834818290_70149769633720'
# ./app/controllers/rallies_controller.rb:60:in `new'
19) Livestrong Start Flow show branded New Rally for authenticated browsers without Livestrong user data behaves like branded landing page is Livestrong branded
Failure/Error: Unable to find matching line from backtrace
ActionView::Template::Error:
No route matches {:action=>"show", :community_id=>"tinyurl_34", :controller=>"rallies", :id=>#<Rally id: nil, title: nil, description: nil, suscription: nil, kind: nil, owner_id: nil, created_at: nil, updated_at: nil, category_id: nil, activity: 0.0, avatar_file_name: nil, avatar_content_type: nil, avatar_file_size: nil, avatar_updated_at: nil, corp_id: nil, deleted_at: nil, invitation_message: nil, avatar_layout: 1, headline: nil, first_time_edited: false, avatar_file: nil, archived: false, vertical: nil, title_x: 0, title_y: 30, disable_notify_immediate: nil, membership_cache_version: 1, created_via: nil>} missing required keys: [:id]
Shared Example Group: "branded landing page" called from ./spec/features/livestrong_start_flow_spec.rb:56
# ./app/views/shared/_html_head.html.haml:20:in `_app_views_shared__html_head_html_haml__3285057685250445301_70149512379400'
# ./app/views/layouts/responsive.html.haml:5:in `_app_views_layouts_responsive_html_haml__2467613834834818290_70149769633720'
# ./app/controllers/rallies_controller.rb:60:in `new'
Top 10 slowest examples (36.72 seconds, 45.7% of total time):
Rally Gates hitting the gate while not logged in without a user token present allows existing users to join public rallies (G3 via G2)
11.53 seconds ./spec/features/rally_gates_spec.rb:173
Rally Gates hitting the gate while not logged in without a user token present allows existing users to login and accept an invitation (via G8)
3.85 seconds ./spec/features/rally_gates_spec.rb:186
Rally Gates hitting the gate as a logged in user allows invitees to join private rallies (via G1)
3.25 seconds ./spec/features/rally_gates_spec.rb:58
Rally Gates hitting the gate as a logged in user allows logged in users to join public rallies (via G2)
2.95 seconds ./spec/features/rally_gates_spec.rb:67
Rally Gates hitting the gate while not logged in without a user token present allows non users to create an account and join public rallies (via G4)
2.78 seconds ./spec/features/rally_gates_spec.rb:215
Rally Gates hitting the gate while not logged in without a user token present allows non users to create an account and accept an invitation (via G12)
2.72 seconds ./spec/features/rally_gates_spec.rb:199
Rally Friends Invitations invite manually allows admins to invite people
2.45 seconds ./spec/features/rally_friends_invitations_spec.rb:13
Rally Gates hitting the gate as a logged in user allows existing users to login with the email address to which they were invited (via G6)
2.44 seconds ./spec/features/rally_gates_spec.rb:42
Rally Gates hitting the gate while not logged in with a user token present allows invited new users to sign up and accept their invitation (via G13)
2.38 seconds ./spec/features/rally_gates_spec.rb:129
Rally Gates hitting the gate while not logged in without a user token present allows anons to request to join a rally without signing up (via G10)
2.37 seconds ./spec/features/rally_gates_spec.rb:230
Top 4 slowest example groups:
Rally Gates
2.79 seconds average (50.19 seconds / 18 examples) ./spec/features/rally_gates_spec.rb:3
Rally Friends Invitations
2.45 seconds average (2.45 seconds / 1 example) ./spec/features/rally_friends_invitations_spec.rb:3
Membership Gates
2 seconds average (4 seconds / 2 examples) ./spec/features/membership_gates_spec.rb:3
Livestrong Start Flow
1.44 seconds average (23.01 seconds / 16 examples) ./spec/features/livestrong_start_flow_spec.rb:3
Finished in 1 minute 20.37 seconds (files took 11.13 seconds to load)
37 examples, 19 failures
Failed examples:
rspec ./spec/features/rally_gates_spec.rb:173 # Rally Gates hitting the gate while not logged in without a user token present allows existing users to join public rallies (G3 via G2)
rspec ./spec/features/rally_gates_spec.rb:215 # Rally Gates hitting the gate while not logged in without a user token present allows non users to create an account and join public rallies (via G4)
rspec ./spec/features/rally_gates_spec.rb:160 # Rally Gates hitting the gate while not logged in without a user token present allows existing members to login (via G2)
rspec ./spec/features/rally_gates_spec.rb:199 # Rally Gates hitting the gate while not logged in without a user token present allows non users to create an account and accept an invitation (via G12)
rspec ./spec/features/rally_gates_spec.rb:129 # Rally Gates hitting the gate while not logged in with a user token present allows invited new users to sign up and accept their invitation (via G13)
rspec ./spec/features/rally_gates_spec.rb:117 # Rally Gates hitting the gate while not logged in with a user token present allows invited new users to sign declare to be someone else (via G13)
rspec ./spec/features/rally_gates_spec.rb:91 # Rally Gates hitting the gate while not logged in with a user token present allows existing members with user tokens to login (via G3)
rspec ./spec/features/rally_gates_spec.rb:108 # Rally Gates hitting the gate while not logged in with a user token present allows invited existing users to login and accept their invitation (via G14)
rspec ./spec/features/rally_gates_spec.rb:32 # Rally Gates hitting the gate as a logged in user allows existing users to add an unclaimed invitation email to their account (via G5)
rspec ./spec/features/rally_gates_spec.rb:58 # Rally Gates hitting the gate as a logged in user allows invitees to join private rallies (via G1)
rspec ./spec/features/rally_gates_spec.rb:42 # Rally Gates hitting the gate as a logged in user allows existing users to login with the email address to which they were invited (via G6)
rspec ./spec/features/livestrong_start_flow_spec.rb:63 # Livestrong Start Flow show branded New Rally for authenticated browsers with Livestrong user data
rspec './spec/features/livestrong_start_flow_spec.rb[1:1:2:1:1]' # Livestrong Start Flow show branded New Rally for authenticated browsers with Livestrong user data behaves like branded landing page is a landing page
rspec './spec/features/livestrong_start_flow_spec.rb[1:1:2:1:2]' # Livestrong Start Flow show branded New Rally for authenticated browsers with Livestrong user data behaves like branded landing page is Livestrong branded
rspec './spec/features/livestrong_start_flow_spec.rb[1:1:2:1:3]' # Livestrong Start Flow show branded New Rally for authenticated browsers with Livestrong user data behaves like branded landing page receives Livestrong vertical and category
rspec ./spec/features/livestrong_start_flow_spec.rb:57 # Livestrong Start Flow show branded New Rally for authenticated browsers without Livestrong user data should not have field "owner_first_name"
rspec './spec/features/livestrong_start_flow_spec.rb[1:1:1:1:3]' # Livestrong Start Flow show branded New Rally for authenticated browsers without Livestrong user data behaves like branded landing page receives Livestrong vertical and category
rspec './spec/features/livestrong_start_flow_spec.rb[1:1:1:1:1]' # Livestrong Start Flow show branded New Rally for authenticated browsers without Livestrong user data behaves like branded landing page is a landing page
rspec './spec/features/livestrong_start_flow_spec.rb[1:1:1:1:2]' # Livestrong Start Flow show branded New Rally for authenticated browsers without Livestrong user data behaves like branded landing page is Livestrong branded
Randomized with seed 38308
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment