0
0
Fork 0

Convert filters spec controller->system (#33326)

This commit is contained in:
Matt Jankowski 2024-12-17 04:20:01 -05:00 committed by GitHub
parent a7673d361d
commit 60bb51eef8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 51 additions and 35 deletions

View file

@ -0,0 +1,16 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe 'Filters' do
describe 'GET /filters' do
context 'with signed out user' do
it 'redirects to sign in page' do
get filters_path
expect(response)
.to redirect_to(new_user_session_path)
end
end
end
end