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'
|
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
|
Loading…
Add table
Add a link
Reference in a new issue