mirror of
https://github.com/mastodon/mastodon
synced 2024-12-25 03:58:16 +09:00
20 lines
386 B
Ruby
20 lines
386 B
Ruby
require 'rails_helper'
|
|
|
|
RSpec.describe AboutController, type: :controller do
|
|
render_views
|
|
|
|
describe 'GET #index' do
|
|
it 'returns http success' do
|
|
get :index
|
|
expect(response).to have_http_status(:success)
|
|
end
|
|
end
|
|
|
|
describe 'GET #terms' do
|
|
it 'returns http success' do
|
|
get :terms
|
|
expect(response).to have_http_status(:success)
|
|
end
|
|
end
|
|
end
|