mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-25 15:24:14 +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
|