Skip to content

Commit 03abdc6

Browse files
Add path root spec
1 parent 4baa951 commit 03abdc6

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/rspec_api_documentation.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ module OpenApi
6363
autoload :Operation
6464
autoload :Parameter
6565
autoload :Response
66-
autoload :Example
6766
autoload :Header
6867
autoload :Schema
6968
autoload :SecuritySchema

spec/open_api/root_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class RspecApiDocumentation::OpenApi::Info; end
1919
its(:definitions) { should be_nil }
2020
its(:parameters) { should be_nil }
2121
its(:responses) { should be_nil }
22+
its(:paths) { should == {} }
2223
its(:securityDefinitions) { should be_nil }
2324
its(:security) { should be_nil }
2425
its(:tags) { should == [] }

0 commit comments

Comments
 (0)