Convert intents spec controller->request (#34261)

This commit is contained in:
Matt Jankowski 2025-03-25 05:07:22 -04:00 committed by GitHub
parent 2453b94198
commit 9bba2aab33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,15 +2,15 @@
require 'rails_helper' require 'rails_helper'
RSpec.describe IntentsController do RSpec.describe 'Intents' do
render_views
let(:user) { Fabricate(:user) } let(:user) { Fabricate(:user) }
before { sign_in user, scope: :user } before { sign_in user, scope: :user }
describe 'GET #show' do describe 'GET /intent' do
subject { get :show, params: { uri: uri } } subject { response }
before { get intent_path(uri: uri) }
context 'when schema is web+mastodon' do context 'when schema is web+mastodon' do
context 'when host is follow' do context 'when host is follow' do