Skip to content

Commit

Permalink
feat: temp swap pending to xit
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticspoon committed Sep 9, 2024
1 parent e3cfa23 commit da850be
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec/controllers/concerns/accessible_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,15 @@ def no_session_action
end
after { Rails.application.routes_reloader.reload! }

it "should redirect to authenticated casa admin root path" do
xit "should redirect to authenticated casa admin root path" do
pending("fails with Rails 7.2")
allow(controller).to receive(:authenticate_user!).and_return(true)
allow(controller).to receive(:current_all_casa_admin).and_return(admin)
get :action
expect(response).to redirect_to authenticated_all_casa_admin_root_path
end

it "should redirect to authenticated user root path" do
pending("fails with Rails 7.2")
xit "should redirect to authenticated user root path" do
allow(controller).to receive(:authenticate_user!).and_return(true)
allow(controller).to receive(:current_user).and_return(volunteer)
get :no_session_action
Expand Down

0 comments on commit da850be

Please sign in to comment.