adds specs for storage

changes expectation in write_credentials
This commit is contained in:
Volker Zöpfel committed 2013-11-28 08:14:41 +01:00
1 parent e6858bd292
commit 31fac0a6f5
2 files changed
+49 -11

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ module Google
# already associated with this instance will be written.
def write_credentials(authorization=nil)
@authorization = authorization if authorization
if @authorization.refresh_token
if @authorization.respond_to?(:refresh_token) && @authorization.refresh_token
store.write_credentials(credentials_hash)
end
end