Convert intents
spec controller->request (#34261)
This commit is contained in:
parent
2453b94198
commit
9bba2aab33
1 changed files with 5 additions and 5 deletions
|
@ -2,15 +2,15 @@
|
|||
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe IntentsController do
|
||||
render_views
|
||||
|
||||
RSpec.describe 'Intents' do
|
||||
let(:user) { Fabricate(:user) }
|
||||
|
||||
before { sign_in user, scope: :user }
|
||||
|
||||
describe 'GET #show' do
|
||||
subject { get :show, params: { uri: uri } }
|
||||
describe 'GET /intent' do
|
||||
subject { response }
|
||||
|
||||
before { get intent_path(uri: uri) }
|
||||
|
||||
context 'when schema is web+mastodon' do
|
||||
context 'when host is follow' do
|
Loading…
Add table
Reference in a new issue