Move path metadata into 'path_item' hash

This commit is contained in:
richie
2016-10-13 17:23:31 -07:00
parent b81b2927be
commit de09df59e1
7 changed files with 9 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ module Rswag
it "delegates to 'describe' with 'path' metadata" do
expect(subject).to have_received(:describe).with(
'/blogs', path: '/blogs'
'/blogs', path_item: { template: '/blogs' }
)
end
end