require'spec_helper'describe'Logout/Sign out',:jsdolet(:user){create(:user)}beforedosign_in(user)visitroot_pathendit'sign out redirects to sign in page'dogitlab_sign_outexpect(current_path).toeqnew_user_session_pathendit'sign out does not show signed out flash notice'dogitlab_sign_outexpect(page).not_tohave_selector('.flash-notice')endend