File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def install
3636 assert_match version . to_s , shell_output ( "#{ bin } /youtubeuploader -version" )
3737
3838 # OAuth
39- ( testpath /"client_secrets.json" ) . write <<~EOS
39+ ( testpath /"client_secrets.json" ) . write <<~JSON
4040 {
4141 "installed": {
4242 "client_id": "foo_client_id",
@@ -49,16 +49,16 @@ def install
4949 "token_uri": "https://accounts.google.com/o/oauth2/token"
5050 }
5151 }
52- EOS
52+ JSON
5353
54- ( testpath /"request.token" ) . write <<~EOS
54+ ( testpath /"request.token" ) . write <<~JSON
5555 {
5656 "access_token": "test",
5757 "token_type": "Bearer",
5858 "refresh_token": "test",
5959 "expiry": "2020-01-01T00:00:00.000000+00:00"
6060 }
61- EOS
61+ JSON
6262
6363 output = shell_output ( "#{ bin } /youtubeuploader -filename #{ test_fixtures ( "test.m4a" ) } 2>&1" , 1 )
6464 assert_match 'oauth2: "invalid_client" "The OAuth client was not found."' , output
You can’t perform that action at this time.
0 commit comments