mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-05 06:26:21 +00:00
0e39cc6a35
* Refactor Export to take an account and know about the export types * Use Export instance in settings/exports#show
18 lines
289 B
Ruby
18 lines
289 B
Ruby
require 'rails_helper'
|
|
|
|
describe Settings::ExportsController do
|
|
render_views
|
|
|
|
before do
|
|
sign_in Fabricate(:user), scope: :user
|
|
end
|
|
|
|
describe 'GET #show' do
|
|
it 'returns http success' do
|
|
get :show
|
|
|
|
expect(response).to have_http_status(:success)
|
|
end
|
|
end
|
|
end
|