0
0
Fork 0

Remove final remaining assigns usage in controller specs (#33866)

This commit is contained in:
Matt Jankowski 2025-02-10 02:33:36 -05:00 committed by GitHub
parent 1cf30717db
commit 8c240ef042
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 26 additions and 21 deletions

View file

@ -0,0 +1,18 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe 'Admin Instances' do
describe 'GET /admin/instances/:id' do
context 'with an unknown domain' do
before { sign_in Fabricate(:admin_user) }
it 'returns http success' do
get admin_instance_path(id: 'unknown.example')
expect(response)
.to have_http_status(200)
end
end
end
end