pending test for file_store and redis_store
authorVolker Zöpfel <volker@zoepfel.de>
Thu, 28 Nov 2013 09:26:23 +0000 (10:26 +0100)
committerVolker Zöpfel <volker@zoepfel.de>
Thu, 28 Nov 2013 09:26:23 +0000 (10:26 +0100)
spec/google/api_client/auth/storages/file_store_spec.rb
spec/google/api_client/auth/storages/redis_store_spec.rb [new file with mode: 0644]

index cd7dbc94d3ace89cb940bfa8079374aa0f97f34d..b2cee7c8d3d1014e9696bb6935d2bf5f5df041e2 100644 (file)
@@ -2,12 +2,13 @@ require 'spec_helper'
 require_relative '../../../../../lib/google/api_client/auth/storages/file_store'
 
 describe Google::APIClient::FileStore do
-  let(:client) { Google::APIClient.new(:application_name => 'API Client Tests') }
   let(:root_path) { File.expand_path(File.join(__FILE__, '..', '..', '..')) }
   let(:json_file) { File.expand_path(File.join(root_path, 'fixtures', 'files', 'auth_stored_credentials.json')) }
 
   it 'should initialize'
 
-  it 'should load_credentials'
+  it 'should load credentials'
+
+  it 'should write credentials'
 
 end
diff --git a/spec/google/api_client/auth/storages/redis_store_spec.rb b/spec/google/api_client/auth/storages/redis_store_spec.rb
new file mode 100644 (file)
index 0000000..ba5b889
--- /dev/null
@@ -0,0 +1,13 @@
+require 'spec_helper'
+require_relative '../../../../../lib/google/api_client/auth/storages/redis_store'
+
+describe Google::APIClient::RedisStore do
+  let(:json_file) { File.expand_path(File.join(root_path, 'fixtures', 'files', 'auth_stored_credentials.json')) }
+
+  it 'should initialize'
+
+  it 'should load credentials'
+
+  it 'should write credentials'
+
+end