Skip to content

Commit

Permalink
Switch draft-06 to draft
Browse files Browse the repository at this point in the history
- patch bump of json schema 2.8.1 made note of this in a relase note

Authored-by: Michael Oleske <[email protected]>
  • Loading branch information
moleske committed Oct 29, 2021
1 parent dc3da75 commit 4b300bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
end

context 'v6' do
let(:version) { 'draft-06' }
let(:version) { 'draft' }

context 'when a broker catalog defines a service instance' do
context 'with a valid create schema' do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
'broker_api_v2.10_spec.rb' => '27e81c4c540e39a4e4eac70c8efb14ba',
'broker_api_v2.11_spec.rb' => '99e61dc50ceb635b09b3bd16901a4fa6',
'broker_api_v2.12_spec.rb' => '4023dffdcaae014556dcdba9f7d206bb',
'broker_api_v2.13_spec.rb' => '573bbe3234c33aeccb1f02399dffdfe5',
'broker_api_v2.13_spec.rb' => 'ceecc106d1a203002e277a37812b6df3',
'broker_api_v2.14_spec.rb' => 'a1e7485793ba1916ea2f4080943530a5',
'broker_api_v2.15_spec.rb' => 'c575fd37bc6dc8df4f773719ccef3288',
}
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/lib/services/service_brokers/v2/schema_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module VCAP::Services::ServiceBrokers::V2
end

context 'when the schema is compliant to JSON Schema draft06' do
let(:version) { 'draft-06' }
let(:version) { 'draft' }
let(:raw_schema) { { '$schema' => draft_schema } }

it 'should be valid' do
Expand Down

0 comments on commit 4b300bc

Please sign in to comment.