diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/controllers/errors_controller_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/controllers/errors_controller_spec.rb b/spec/controllers/errors_controller_spec.rb index 558fd0aa4..7f95d5470 100644 --- a/spec/controllers/errors_controller_spec.rb +++ b/spec/controllers/errors_controller_spec.rb @@ -15,11 +15,11 @@ RSpec.describe ErrorsController, type: :controller do end end - describe 'GET not_allowed' do - before(:each) { get 'not_allowed' } + describe 'GET forbidden' do + before(:each) { get 'forbidden' } - it 'renders the not_allowed template' do - expect(response).to render_template('not_allowed') + it 'renders the forbidden template' do + expect(response).to render_template('forbidden') end it 'returns 403 status code' do |
