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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a96a92b1da67c165de9313bfd2ad475f1e4421c6e886654b5a8b55cbdf5bf93a
4
- data.tar.gz: a6dbe515f9458f489f9e4751f5c59d8780df118cc17ace5e53d4339516b673b6
3
+ metadata.gz: c08604475dff6c30397a8fcd27723dd146c97f5ab81f1c776f2674b71f473087
4
+ data.tar.gz: 33e5ac283ee44f9e1285807409337f7187f93b277b46714edeb4edb3693def8e
5
5
  SHA512:
6
- metadata.gz: 9071c135e882735a0a7fc8cff84fae9362d2786058e40d082f44c4a9b6aeb7438dad4bad5f1591de777efc04305703c4bb20ffaae1075706f27a51a55202747a
7
- data.tar.gz: 9ca67712bebf85bd22dfd90c58ee9cfdb74388a78cf0af600a8cfb94d3d6bc7f494d7c2578a3c53915fcbd3c3a213488efcbb0f14c58a5fc7868f4fcd5ce6872
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("CBASEEffqN8pnVNXwoCL0dSGMVAgAQ")
49
+ expect(locations[0].id).to eq(accounts['US-Prod-Sandbox']['location_id'])
49
50
  end
50
51
  end
51
52
 
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.208
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-05-25 00:00:00.000000000 Z
11
+ date: 2018-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus