We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c5153e commit 2967cc3Copy full SHA for 2967cc3
samples/client/petstore/ruby/spec/pet_spec.rb
@@ -65,7 +65,7 @@
65
end
66
67
it "should fetch an order" do
68
- item = StoreApi.getOrderById(2)
69
- item.id.should == 2
+ item = StoreApi.getOrderById(5)
+ item.id.should == 5
70
71
-end
+end
samples/client/petstore/ruby/spec/store_spec.rb
@@ -0,0 +1,16 @@
1
+require 'spec_helper'
2
+
3
+describe "Store" do
4
+ before do
5
+ Swagger.configure do |config|
6
+ config.api_key = 'special-key'
7
+ config.host = 'petstore.swagger.io'
8
+ config.base_path = '/v2'
9
+ end
10
11
12
+ it "should fetch an order" do
13
14
15
16
0 commit comments