diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-18 23:08:52 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-18 23:10:44 +0100 |
commit | 7b7bf834e9f8616440259fcee518fa11adf3e457 (patch) | |
tree | e5a5d88f26c162606b4624bd78d644096cf6399a /spec/controllers/about_controller_spec.rb | |
parent | 1fd2ac774f77dbca25a1bf82279e2eafa8a3d83b (diff) |
Fix OAuth authorization page and add a spec for it
Diffstat (limited to 'spec/controllers/about_controller_spec.rb')
-rw-r--r-- | spec/controllers/about_controller_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/controllers/about_controller_spec.rb b/spec/controllers/about_controller_spec.rb index 4fb58637a..4282649e1 100644 --- a/spec/controllers/about_controller_spec.rb +++ b/spec/controllers/about_controller_spec.rb @@ -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 |