Fix rubocop errors (long line wrapping).

This commit is contained in:
Todd Derr 2015-06-30 17:47:16 -04:00
parent 60a079a41e
commit b31df0caaa
2 changed files with 4 additions and 4 deletions

View File

@ -58,8 +58,8 @@ describe '#get_application_default' do
Dir.mktmpdir do |dir| Dir.mktmpdir do |dir|
key_path = File.join(dir, 'does-not-exist') key_path = File.join(dir, 'does-not-exist')
ENV[@var_name] = key_path ENV[@var_name] = key_path
expect { Google::Auth.get_application_default(@scope) }. expect { Google::Auth.get_application_default(@scope) }
to raise_error RuntimeError .to raise_error RuntimeError
end end
end end

View File

@ -170,8 +170,8 @@ describe Google::Auth::UserRefreshCredentials do
FileUtils.mkdir_p(File.dirname(key_path)) FileUtils.mkdir_p(File.dirname(key_path))
File.write(key_path, cred_json_text(missing)) File.write(key_path, cred_json_text(missing))
ENV['HOME'] = dir ENV['HOME'] = dir
expect { @clz.from_well_known_path(@scope) }. expect { @clz.from_well_known_path(@scope) }
to raise_error RuntimeError .to raise_error RuntimeError
end end
end end
end end