Skip to content

Commit b91606c

Browse files
committed
enable mobile test
1 parent e413d29 commit b91606c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

test/square/integration/client_tests/test_mobile.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@
55
describe Square::Mobile::Client do
66
describe "#authorization_code" do
77
it "should create mobile authorization code" do
8-
skip "Skipping for now."
9-
_request = Square::Mobile::Types::AuthorizationCodeRequest.new(
8+
_request = Square::Mobile::Types::CreateMobileAuthorizationCodeRequest.new(
109
location_id: client.locations.list.locations.first.id
1110
)
1211

1312
response = client.mobile.authorization_code(**_request.to_h)
1413
refute_nil response
15-
assert_equal response.class, Square::Types::AuthorizationCodeResponse
14+
assert_equal response.class, Square::Types::CreateMobileAuthorizationCodeResponse
1615
refute_nil response.authorization_code
1716
refute_nil response.expires_at
1817

0 commit comments

Comments
 (0)