Fix tests being broken because of different default setting

th-downstream
Thibaut Girka 5 years ago
parent caa2fc89b3
commit e143653d3a

@ -44,6 +44,10 @@ describe Api::V1::Timelines::PublicController do
context 'without a user context' do
let(:token) { Fabricate(:accessible_access_token, resource_owner_id: nil) }
before do
Setting.timeline_preview = true
end
describe 'GET #show' do
it 'returns http success' do
get :show

Loading…
Cancel
Save