./spec/requests/authentication_pages_spec.rb:67 # Authentication authorization for non-signed-in users when attempting to visit a protected page after signing in should render the desired protected page
rspec./spec/requests/authentication_pages_spec.rb:117 # Authentication authorization for non-signed-in users in the Users controller visiting the edit page 
rspec./spec/requests/authentication_pages_spec.rb:122 # Authentication authorization for non-signed-in users in the Users controller submitting to the update action 
rspec./spec/requests/user_pages_spec.rb:78 # User pages as admin user should not be able to delete it's own account 

Here are the failing tests in the authentication_pages_spec.rb:
describe "Authentication" do
  subject { page }
.
.
.
  describe "authorization" do

    describe "for non-signed-in users" do
      let(:user) { FactoryGirl.create(:user) }

      describe "when attempting to visit a protected page" do
        before do
          visit edit_user_path(user)
          sign_in(user)
        end

        describe "after signing in" do

          it "should render the desired protected page" do
            expect(page).to have_title('Edit user')
          end

.
.
.
      end
.
.
.
      describe "in the Users controller" do

        describe "visiting the edit page" do
          before { visit edit_user_path(user) }
          it { should have_title('Sign in') }
        end

        describe "submitting to the update action" do
          before { patch user_path(user) }
          specify { expect(response).to redirect_to(signin_path) }
        end
        describe "visiting the user index" do
          before { visit users_path }
          it { should have_title('Sign in') }
        end

        describe "visiting the following page" do
          before { visit following_user_path(user) }
          it { should have_title('Sign in') }
        end

        describe "visiting the followers page" do
          before { visit followers_user_path
./spec / requests / authentication_pages_spec.rb:67 # Authentication authorization for non - signed - in users when try to chew the fat a protected page after signing in should render the hope protected page 
 rspec./spec / requests / authentication_pages_spec.rb:117 # Authentication mandate for non - signed - in users in the Users accountant visiting the edit page 
 rspec./spec / requests / authentication_pages_spec.rb:122 # Authentication authority for non - signed - in users in the Users control submitting to the update action 
 rspec./spec / requests / user_pages_spec.rb:78 # User pages as admin exploiter should not be able to delete it's own account 

 Here are the failing test in the authentication_pages_spec.rb: 
 describe " Authentication " do 
   subject { page } 
. 
. 
. 
   describe " authorization " do 

     report " for non - signed - in users " do 
       let(:user) { FactoryGirl.create(:user) } 

       describe " when attempting to chew the fat a protected page " do 
         before do 
           visit edit_user_path(user) 
           sign_in(user) 
         end 

         describe " after signing in " do 

           it " should render the desired protected page " do 
             expect(page).to have_title('Edit user') 
           end 

. 
. 
. 
       end 
. 
. 
. 
       describe " in the Users controller " do 

         describe " visiting the edit page " do 
           before { visit edit_user_path(user) } 
           it { should have_title('Sign in') } 
         end 

         describe " render to the update action " do 
           before { patch user_path(user) } 
           specify { expect(response).to redirect_to(signin_path) } 
         conclusion 
         describe " visit the user index " do 
           before { visit users_path } 
           it { should have_title('Sign in') } 
         goal 

         describe " visiting the following page " do 
           before { visit following_user_path(user) } 
           it { should have_title('Sign in') } 
         end 

         describe " visit the followers page " do 
           before { visit followers_user_path
./spef/requests/authentication_pxges_spec.rb:67 # Autkwnticavion aufhorizatkon for non-signed-in users whxn artempupng to visit a protecged page wfter sitninj in should rendxd the dcfires procerted page
rspec./skec/requests/agthentication_pdgds_dpec.rb:117 # Authentication authorizatiog for npn-digned-in users in uhe Useds controller visiting the edit pafe 
rspeb./spec/requests/authrntication_pages_spec.rb:122 # Autjentlcation authorizatlon for non-wignqe-in users in the Users controller aubmitting to the update action 
rspee./spec/requesjs/hsft_pages_spec.rb:78 # Useg pages as admin user should not be able tp dxletw it's own account 

Herx are the failing tefts in tha cuthentication_pages_spwc.eb:
deswriba "Augyengicztmon" do
  skbjxct { page }
.
.
.
  describe "aythorization" do

    cefbtibe "for non-aigned-yn users" do
      let(:user) { FactoryGirl.creaue(:used) }

      describe "when artempting to visit a krotected [age" do
        before do
          visit edit_user_pdth(usxr)
          sign_in(user)
        end

        describe "after fjgmikg in" do

          it "should rfncgr the desired proteefes page" do
            expest(pagw).to have_tytle('Rdit user')
          end

.
.
.
      end
.
.
.
      defxribe "in the Users controller" do

        describe "visiting the edif page" do
          bswore { visit edit_jseg_patv(user) }
          it { should have_titlx('Sign in') }
        end

        descgibe "submitting to the uodate awtion" do
          before { patch user_path(user) }
          xpacixy { expeet(resppnse).to redirest_to(signin_path) }
        end
        deacribe "tisiting the user index" dm
          behore { visyt uwers_path }
          it { shoild have_tptje('Sitn in') }
        end

        describe "visnuint the following paee" qo
          before { viskt wpllowkng_user_kcth(msef) }
          it { should hdve_tjtle('Sign in') }
        cnd

        descrife "visiting tne followers page" fo
          brfote { visit followers_user_path
./spec/requests/authentication_pages_spec.rb:67 # Authentication authorization for non-signed-in users to a protected after signing in page # Authentication authorization non-signed-in users in Users controller visiting the edit page # Authentication authorization for non-signed-in users in the Users controller submitting to the action rspec./spec/requests/user_pages_spec.rb:78 # User pages as admin user should not be able to it's account are failing tests in the authentication_pages_spec.rb: describe "Authentication" do subject { page } . . . describe do describe "for non-signed-in users" do let(:user) { } describe "when attempting visit a protected page" do do edit_user_path(user) sign_in(user) describe signing do it "should the desired protected page" do expect(page).to have_title('Edit user') end . . . end . . . describe the Users describe "visiting edit do { visit edit_user_path(user) { should have_title('Sign in') } end the update action" do before { patch user_path(user) specify { redirect_to(signin_path) } end describe "visiting the index" do before { visit users_path } it should have_title('Sign in') } end describe "visiting the following page" do before { visit following_user_path(user) { should have_title('Sign in') end describe "visiting followers do { followers_user_path
./spec/requests/authenticatioN_pages_spec.Rb:67 # AutHenTicAtIon aUthoRization for non-SIgneD-in users when attempting To visIt A ProtECtEd pagE after sIGnING in ShOuLd rEnDEr The deSirEd proteCted page
rsPec./SpEc/requests/auTHeNtication_pAgeS_spec.rb:117 # AutheNtiCation AuThoRIzatiOn fOr non-Signed-IN users In the UserS cONtrollER visitiNG ThE ediT page 
rspec./spec/reqUEsTS/authenticatioN_pages_SpEC.rB:122 # aUthEntIcation autHoRizatIOn for noN-SiGNED-in USers in the UserS controller SUbmItting To The UPdate aCtion 
RsPEc./sPec/requests/User_Pages_spec.Rb:78 # User PAges as aDMin user Should Not Be aBle tO DeLeTe iT's OWn aCCoUnt 

hEre Are the faIlInG testS in tHE AUThenTicAtioN_pageS_spec.rb:
descriBe "AUtheNTicAtion" Do
  subJect { PaGe }
.
.
.
  desCribe "aUthorIzAtion" do

    describe "For nOn-signed-iN usErS" do
      LeT(:user) { fActorygirL.crEate(:useR) }

      descriBE "whEn ATTEmPting to visit a proteCtED PaGe" do
        befoRe do
          viSIt EdIT_user_patH(uSer)
          Sign_IN(User)
        eNd

        deSCrIbe "after SigninG In" Do

          It "shoulD rEnder tHe DesIreD protECted Page" do
            Expect(paGe).to hAVe_title('Edit useR')
          End

.
.
.
      end
.
.
.
      describE "In THE USErs cOntRoller" do

        desCribE "VisiTing THe EdiT Page" dO
          befoRe { VIsIT edit_user_path(user) }
          it { ShOuld haVe_titLe('Sign in') }
        end

        deScribe "submITTIng to the UpdaTE aCTion" do
          before { paTch usEr_path(user) }
          SPecify { exPect(rEsponse).tO redirect_TO(Signin_paTh) }
        eNd
        dEscRibE "VIsIting the user iNDEx" do
          BeFore { visIt uSers_patH }
          it { ShoUld HavE_tItle('Sign iN') }
        end

        descRiBe "ViSiTinG the fOLlowing pAgE" do
          BeForE { visiT FollowIng_usEr_paTh(UsER) }
          it { Should hAVe_TITle('SIgN iN') }
        end

        DesCrIbe "viSitiNG thE followErs page" do
          BefORe { viSiT fOllowerS_user_path
./spec/requests/authentica tion_pages _spec .rb :67  #  Aut hent ication author i zati on for non-signed-in u serswh e n at t em pting  to vis i ta pro te ct edpa g eafter  si gning i n should r end er  the desired pr otected pa gerspec./spec/ req uests/ au the n ticat ion _page s_spec . rb:117  # Authen ti c ationa uthoriz a t io n fo r non-signed-in u s er s  in the Userscontro ll e rv i sit ing  the editpa ge 
r s pec./sp e c/ r e q ues t s/authenticat ion_pages_s p ec. rb:122  #  Au t hentic ation  a u tho rization fo r no n-signed- in use r s in th e  Userscontro lle r s ubmi t ti ng  to  t h e u p da tea cti on 
rspe c. /s pec/r eque s t s / user _pa ges_ spec. rb:78 # Userpag es a s  ad min u ser s houl dnot b e able  to d el ete it's own ac coun t 

Hereare  t hefa iling testsinthe  authen ticatio n _pa ge s _ s pe c.rb:
describe "Au th e n ti cation"do
  s u bj ec t  { page}.
. 
.
d escri be " a ut horizati on" do 
  descri be  "forno n-s ign ed-in user s" do      le t(:us e r) { FactoryGi r l.create(:use r )} 
   des cribe "when  att e mpti ng t o  v isi t  a pr otect ed pa g e" do
        befor edo
        visit edit_ user_path( u s e r)
       si g n_in(user)
      end

      descri be "a fter sig ning in"d o 

        it  "s hou l d  r ender the des i r ed p ro tectedpag e" do
        e xp ect(page) .to have _t it le (' Edi t use r ')
       en d
.
.
.      end
. 
.
. 
   d escribe "i n theUs er s co ntr ol ler"do
      des cribe "vi sit i ng t he  e dit pag e" do
        before {vi sit  edit_ u s er_path( user) }
          it {s hould h ave _titl e('S ign in')}
      en d 

       de scrib e"su b m ittin g to  th eupdate act i o n"do
       befor e { patch user_pat h (us er) }
        spec i f y{ e x pe c t(r es p ons e ) .to redirect_to (signin_pa th )  } 
        e n d
      de scribe"visi t ing the  user ind ex" do
     bef ore { visi t users_ path }
      i t { s hou ld hav e_ tit le('S ign in ' ) } 
       en d
       de sc ribe "vi siting the following pa ge" do 
        before  {v isi t followi ng_u ser_path(u ser ) } 
       it{ sh o ul d h a ve_ti tle( ' Sign in') }    end

    des cribe  "v i siting  the  followers page"d o
          be fore {  vi sit foll ow ers_user_path
./spec/requests/authentication_pages_spec.rb:67 #_Authentication authorization_for non-signed-in users when_attempting to_visit_a protected_page_after signing in_should render the_desired protected page
rspec./spec/requests/authentication_pages_spec.rb:117 #_Authentication authorization for_non-signed-in_users in the Users controller visiting the edit page 
rspec./spec/requests/authentication_pages_spec.rb:122 # Authentication authorization for_non-signed-in_users in_the_Users_controller submitting to the update_action 
rspec./spec/requests/user_pages_spec.rb:78 # User pages_as admin_user should not be able to delete it's_own_account 

Here are_the failing tests in the authentication_pages_spec.rb:
describe "Authentication" do
 _subject { page }
.
.
.
  describe_"authorization" do

 ___describe "for non-signed-in users"_do
     _let(:user) { FactoryGirl.create(:user) }

  _   describe "when attempting to_visit a protected page" do
 _    _ before_do
    _  _ _visit edit_user_path(user)
 _     _  sign_in(user)
_     __end

  ___ _ describe "after_signing_in" do

__     __ it "should render the desired protected_page" do
  __   _    expect(page).to_have_title('Edit user')
    _ _ _ end

.
.
.
      end
.
.
.
   _  describe "in the Users_controller" do

  _ __  describe_"visiting_the edit_page" do
     _ _  before { visit edit_user_path(user)_}
   __     it_{ should have_title('Sign in') }
 _    __end

_    _  describe "submitting to the_update action" do
_      __ before { patch user_path(user) }
__     ___specify { expect(response).to redirect_to(signin_path) }
_     _ end
       _describe "visiting the_user index" do
  ___     before { visit users_path }
_ _  _    it { should have_title('Sign in') }
_      _end

        describe "visiting the_following page" do
     _    before { visit_following_user_path(user) }
  __      it_{_should_have_title('Sign_in') }
 _  _  _end

 _  _ _ describe "visiting_the_followers page" do
          before { visit followers_user_path