mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 15:22:56 +00:00
make spec output less noisy
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user