1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-27 21:18:11 +09:00
mastodon/spec/controllers/about_controller_spec.rb

20 lines
386 B
Ruby
Raw Normal View History

2016-09-28 06:12:33 +09:00
require 'rails_helper'
RSpec.describe AboutController, type: :controller do
render_views
2016-09-28 06:12:33 +09:00
describe 'GET #index' do
it 'returns http success' do
2016-09-28 06:12:33 +09:00
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
2016-09-28 06:12:33 +09:00
end