square_connect 2.8.0.208 → 2.8.0.215
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/spec/api/locations_api_spec.rb +3 -2
- data/travis-ci/accounts.enc +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c08604475dff6c30397a8fcd27723dd146c97f5ab81f1c776f2674b71f473087
|
4
|
+
data.tar.gz: 33e5ac283ee44f9e1285807409337f7187f93b277b46714edeb4edb3693def8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d82d735a26990403449532035ff982f662698739e9b14a8b4f2eba7b4db42609e848a5973baf8d1ccb8c1b684e27318ab47011b2e2b6b45c3471957111d9c7d0
|
7
|
+
data.tar.gz: dd7e4be9537e9d04cdbe589384b511b8c1347a7f9c677dd4976b858ea8039eb0c747d3f2ce91b70cfd8dd8590cacec73234f734df32240c12e897ce518be6812
|
@@ -17,7 +17,7 @@ require 'json'
|
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'LocationsApi' do
|
20
|
-
|
20
|
+
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
23
|
@instance = SquareConnect::LocationsApi.new
|
@@ -43,9 +43,10 @@ describe 'LocationsApi' do
|
|
43
43
|
it "should work" do
|
44
44
|
result = @instance.list_locations()
|
45
45
|
locations = result.locations
|
46
|
+
accounts = load_accounts()
|
46
47
|
expect(locations.length).to be > 0
|
47
48
|
expect(locations[0]).to be_an_instance_of(SquareConnect::Location)
|
48
|
-
expect(locations[0].id).to eq(
|
49
|
+
expect(locations[0].id).to eq(accounts['US-Prod-Sandbox']['location_id'])
|
49
50
|
end
|
50
51
|
end
|
51
52
|
|
data/travis-ci/accounts.enc
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: square_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.0.
|
4
|
+
version: 2.8.0.215
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Square, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|