mirror of
https://github.com/mastodon/mastodon
synced 2024-12-15 23:28:14 +09: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
|