You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
block_is_expected.toraise_error(OAuth2::Error,{error: "OAuth2::AccessToken has no token",error_description: "Options are: {mode: :this_is_bad, raise_errors: true}"}.to_s)
392
+
block_is_expected.toraise_error(OAuth2::Error,{error: "OAuth2::AccessToken has no token",error_description: "Options are: #{{mode: :this_is_bad,raise_errors: true}}"}.to_s)
393
393
end
394
394
end
395
395
396
396
context"when there is nil token"do
397
397
let(:token){nil}
398
398
399
399
it"raises on initialize"do
400
-
block_is_expected.toraise_error(OAuth2::Error,{error: "OAuth2::AccessToken has no token",error_description: "Options are: {mode: :this_is_bad, raise_errors: true}"}.to_s)
400
+
block_is_expected.toraise_error(OAuth2::Error,{error: "OAuth2::AccessToken has no token",error_description: "Options are: #{{mode: :this_is_bad,raise_errors: true}}"}.to_s)
block_is_expected.toraise_error(OAuth2::Error,{error: "OAuth2::AccessToken has no token",error_description: "Options are: {raise_errors: true}"}.to_s)
606
+
block_is_expected.toraise_error(OAuth2::Error,{error: "OAuth2::AccessToken has no token",error_description: "Options are: #{{raise_errors: true}}"}.to_s)
block_is_expected.toraise_error(OAuth2::Error,{error: "OAuth2::AccessToken has no token",error_description: "Options are: {raise_errors: true}"}.to_s)
632
+
block_is_expected.toraise_error(OAuth2::Error,{error: "OAuth2::AccessToken has no token",error_description: "Options are: #{{raise_errors: true}}"}.to_s)
0 commit comments