Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Failures:
- 1) Authentication signin with valid information
- Failure/Error: before { visit signin_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f85435a4608>:0x007f8543051cf0>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/authentication_pages_spec.rb:14:in `block (3 levels) in <top (required)>'
- 2) Authentication signin with valid information
- Failure/Error: before { visit signin_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f85435a4608>:0x007f8541dd3858>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/authentication_pages_spec.rb:14:in `block (3 levels) in <top (required)>'
- 3) Authentication signin with valid information
- Failure/Error: before { visit signin_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f85435a4608>:0x007f854329c668>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/authentication_pages_spec.rb:14:in `block (3 levels) in <top (required)>'
- 4) Authentication signin with valid information
- Failure/Error: before { visit signin_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f85435a4608>:0x007f854225e5d0>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/authentication_pages_spec.rb:14:in `block (3 levels) in <top (required)>'
- 5) Authentication signin with invalid information
- Failure/Error: before { visit signin_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f85435a4608>:0x007f8541f27380>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/authentication_pages_spec.rb:14:in `block (3 levels) in <top (required)>'
- 6) Authentication signin with invalid information
- Failure/Error: before { visit signin_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f85435a4608>:0x007f8543216b58>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/authentication_pages_spec.rb:14:in `block (3 levels) in <top (required)>'
- 7) Authentication signin with invalid information after visiting another page
- Failure/Error: before { visit signin_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f85435a4608>:0x007f854200de98>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/authentication_pages_spec.rb:14:in `block (3 levels) in <top (required)>'
- 8) Authentication signin page
- Failure/Error: before { visit signin_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f85435a4608>:0x007f8541b57070>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/authentication_pages_spec.rb:7:in `block (3 levels) in <top (required)>'
- 9) Authentication signin page
- Failure/Error: before { visit signin_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f85435a4608>:0x007f85432e0ed0>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/authentication_pages_spec.rb:7:in `block (3 levels) in <top (required)>'
- 10) Static pages Home page
- Failure/Error: before { visit root_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f854190b4b0>:0x007f85419321a0>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/static_pages_spec.rb:8:in `block (3 levels) in <top (required)>'
- 11) Static pages Home page
- Failure/Error: before { visit root_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f854190b4b0>:0x007f8543307af8>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/static_pages_spec.rb:8:in `block (3 levels) in <top (required)>'
- 12) Static pages Home page
- Failure/Error: before { visit root_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f854190b4b0>:0x007f85424049c0>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/static_pages_spec.rb:8:in `block (3 levels) in <top (required)>'
- 13) Static pages Help page
- Failure/Error: before { visit help_path}
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f854190b4b0>:0x007f85435ce700>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/static_pages_spec.rb:18:in `block (3 levels) in <top (required)>'
- 14) Static pages Help page
- Failure/Error: before { visit help_path}
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f854190b4b0>:0x007f8543120a50>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/static_pages_spec.rb:18:in `block (3 levels) in <top (required)>'
- 15) Static pages About page
- Failure/Error: before { visit about_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f854190b4b0>:0x007f8542324f28>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/static_pages_spec.rb:26:in `block (3 levels) in <top (required)>'
- 16) Static pages About page
- Failure/Error: before { visit about_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f854190b4b0>:0x007f8541f2dac8>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/static_pages_spec.rb:26:in `block (3 levels) in <top (required)>'
- 17) Static pages Contact page
- Failure/Error: before { visit contact_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f854190b4b0>:0x007f85432205e0>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/static_pages_spec.rb:34:in `block (3 levels) in <top (required)>'
- 18) Static pages Contact page
- Failure/Error: before { visit contact_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f854190b4b0>:0x007f8541828610>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/static_pages_spec.rb:34:in `block (3 levels) in <top (required)>'
- 19) UserPages profile page
- Failure/Error: before { visit user_path(user) }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f8543302dc8>:0x007f8543305870>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/user_pages_spec.rb:41:in `block (3 levels) in <top (required)>'
- 20) UserPages profile page
- Failure/Error: before { visit user_path(user) }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f8543302dc8>:0x007f85427d3e70>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/user_pages_spec.rb:41:in `block (3 levels) in <top (required)>'
- 21) UserPages signup page with valid information should create a user
- Failure/Error: before { visit signup_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f8543302dc8>:0x007f854194c730>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/user_pages_spec.rb:8:in `block (3 levels) in <top (required)>'
- 22) UserPages signup page with invalid information should not create a user
- Failure/Error: before { visit signup_path }
- ActionView::Template::Error:
- undefined local variable or method `current_user' for #<#<Class:0x007f8543302dc8>:0x007f8543184b68>
- # ./app/helpers/sessions_helper.rb:11:in `signed_in?'
- # ./app/views/layouts/_header.html.erb:9:in `_app_views_layouts__header_html_erb__4307046332760216055_70105167090680'
- # ./app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__4341898258881027636_70105157139100'
- # ./spec/requests/user_pages_spec.rb:8:in `block (3 levels) in <top (required)>'
- Finished in 0.77511 seconds
- 43 examples, 22 failures
- Failed examples:
- rspec ./spec/requests/authentication_pages_spec.rb:36 # Authentication signin with valid information
- rspec ./spec/requests/authentication_pages_spec.rb:37 # Authentication signin with valid information
- rspec ./spec/requests/authentication_pages_spec.rb:38 # Authentication signin with valid information
- rspec ./spec/requests/authentication_pages_spec.rb:39 # Authentication signin with valid information
- rspec ./spec/requests/authentication_pages_spec.rb:19 # Authentication signin with invalid information
- rspec ./spec/requests/authentication_pages_spec.rb:18 # Authentication signin with invalid information
- rspec ./spec/requests/authentication_pages_spec.rb:23 # Authentication signin with invalid information after visiting another page
- rspec ./spec/requests/authentication_pages_spec.rb:9 # Authentication signin page
- rspec ./spec/requests/authentication_pages_spec.rb:8 # Authentication signin page
- rspec ./spec/requests/static_pages_spec.rb:13 # Static pages Home page
- rspec ./spec/requests/static_pages_spec.rb:11 # Static pages Home page
- rspec ./spec/requests/static_pages_spec.rb:12 # Static pages Home page
- rspec ./spec/requests/static_pages_spec.rb:21 # Static pages Help page
- rspec ./spec/requests/static_pages_spec.rb:20 # Static pages Help page
- rspec ./spec/requests/static_pages_spec.rb:29 # Static pages About page
- rspec ./spec/requests/static_pages_spec.rb:28 # Static pages About page
- rspec ./spec/requests/static_pages_spec.rb:37 # Static pages Contact page
- rspec ./spec/requests/static_pages_spec.rb:36 # Static pages Contact page
- rspec ./spec/requests/user_pages_spec.rb:44 # UserPages profile page
- rspec ./spec/requests/user_pages_spec.rb:43 # UserPages profile page
- rspec ./spec/requests/user_pages_spec.rb:26 # UserPages signup page with valid information should create a user
- rspec ./spec/requests/user_pages_spec.rb:13 # UserPages signup page with invalid information should not create a user
- Randomized with seed 4777
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement