Eliminate a new 'raise_error' WARNING.

I have another outstanding PR to fix these; so avoid introducing
another one here.
This commit is contained in:
Todd Derr committed 2015-06-29 16:56:42 -04:00
1 parent 86de5fe13b
commit c04e91569d
1 file changed
+2 -1
+2 -1
View File
@@ -208,7 +208,8 @@ describe Google::Auth::UserRefreshCredentials do
Dir.mktmpdir do |dir|
FileUtils.mkdir_p(File.dirname(@path))
File.write(@path, cred_json_text(missing))
expect { @clz.from_system_default_path(@scope) }.to raise_error
expect { @clz.from_system_default_path(@scope) }.
to raise_error RuntimeError
File.delete(@path)
end
end