Fix OAuth authorization page and add a spec for it
This commit is contained in:
parent
1fd2ac774f
commit
7b7bf834e9
6 changed files with 39 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue