1
0
Fork 0
forked from fedi/mastodon
mastodon/spec/controllers/about_controller_spec.rb

20 lines
386 B
Ruby
Raw Normal View History

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