make spec output less noisy

This commit is contained in:
Jamie Macey
2020-10-13 10:14:02 -07:00
parent 8d673068af
commit 0a9487b328
3 changed files with 10 additions and 0 deletions

View File

@@ -3,6 +3,10 @@
require 'swagger_helper'
RSpec.describe 'Auth Tests API', type: :request, swagger_doc: 'v1/swagger.json' do
before do
allow(ActiveSupport::Deprecation).to receive(:warn) # Silence deprecation output from specs
end
path '/auth-tests/basic' do
post 'Authenticates with basic auth' do
tags 'Auth Tests'

View File

@@ -3,6 +3,10 @@ require 'swagger_helper'
RSpec.describe 'Blogs API', type: :request, swagger_doc: 'v1/swagger.json' do
let(:api_key) { 'fake_key' }
before do
allow(ActiveSupport::Deprecation).to receive(:warn) # Silence deprecation output from specs
end
path '/blogs' do
post 'Creates a blog' do
tags 'Blogs'