mastodon/spec/controllers/about_controller_spec.rb

20 lines
386 B
Ruby
Raw Normal View History

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