We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e413d29 commit b91606cCopy full SHA for b91606c
1 file changed
test/square/integration/client_tests/test_mobile.rb
@@ -5,14 +5,13 @@
5
describe Square::Mobile::Client do
6
describe "#authorization_code" do
7
it "should create mobile authorization code" do
8
- skip "Skipping for now."
9
- _request = Square::Mobile::Types::AuthorizationCodeRequest.new(
+ _request = Square::Mobile::Types::CreateMobileAuthorizationCodeRequest.new(
10
location_id: client.locations.list.locations.first.id
11
)
12
13
response = client.mobile.authorization_code(**_request.to_h)
14
refute_nil response
15
- assert_equal response.class, Square::Types::AuthorizationCodeResponse
+ assert_equal response.class, Square::Types::CreateMobileAuthorizationCodeResponse
16
refute_nil response.authorization_code
17
refute_nil response.expires_at
18
0 commit comments