Merge branch 'spec-deprecations' into jamie

This commit is contained in:
Jamie Macey
2020-10-17 13:43:00 -07:00
3 changed files with 10 additions and 0 deletions

View File

@@ -11,6 +11,8 @@ module Rswag
# Mock out some infrastructure
before do
allow(config).to receive(:swagger_root).and_return(swagger_root)
allow(ActiveSupport::Deprecation).to receive(:warn) # Silence deprecation output from specs
end
let(:config) { double('config') }
let(:output) { double('output').as_null_object }