0
0
Fork 0

Fix OAuth authorization page and add a spec for it

This commit is contained in:
Eugen Rochko 2016-11-18 23:08:52 +01:00
parent 1fd2ac774f
commit 7b7bf834e9
6 changed files with 39 additions and 5 deletions

View file

@ -1,6 +1,7 @@
require 'rails_helper'
RSpec.describe AboutController, type: :controller do
render_views
describe 'GET #index' do
it 'returns http success' do
@ -9,4 +10,10 @@ RSpec.describe AboutController, type: :controller do
end
end
describe 'GET #terms' do
it 'returns http success' do
get :terms
expect(response).to have_http_status(:success)
end
end
end