mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-27 07:13:44 +01:00
Fix tests being broken because of different default setting
This commit is contained in:
parent
3665d554c5
commit
b83e2df6b5
1 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,10 @@ describe Api::V1::Timelines::PublicController do
|
||||||
context 'without a user context' do
|
context 'without a user context' do
|
||||||
let(:token) { Fabricate(:accessible_access_token, resource_owner_id: nil) }
|
let(:token) { Fabricate(:accessible_access_token, resource_owner_id: nil) }
|
||||||
|
|
||||||
|
before do
|
||||||
|
Setting.timeline_preview = true
|
||||||
|
end
|
||||||
|
|
||||||
describe 'GET #show' do
|
describe 'GET #show' do
|
||||||
it 'returns http success' do
|
it 'returns http success' do
|
||||||
get :show
|
get :show
|
||||||
|
|
Loading…
Reference in a new issue