mirror of
https://github.com/mastodon/mastodon.git
synced 2025-05-11 12:11:12 +00:00
Convert intents
spec controller->request (#34261)
This commit is contained in:
parent
2453b94198
commit
9bba2aab33
|
@ -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…
Reference in New Issue
Block a user