gearheads
/
mastodon
Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
mastodon/spec/controllers/about_controller_spec.rb

20 lines
386 B
Ruby
Raw Normal View History

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