Fix rubocop errors (long line wrapping).
This commit is contained in:
parent
60a079a41e
commit
b31df0caaa
|
@ -58,8 +58,8 @@ describe '#get_application_default' do
|
|||
Dir.mktmpdir do |dir|
|
||||
key_path = File.join(dir, 'does-not-exist')
|
||||
ENV[@var_name] = key_path
|
||||
expect { Google::Auth.get_application_default(@scope) }.
|
||||
to raise_error RuntimeError
|
||||
expect { Google::Auth.get_application_default(@scope) }
|
||||
.to raise_error RuntimeError
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -170,8 +170,8 @@ describe Google::Auth::UserRefreshCredentials do
|
|||
FileUtils.mkdir_p(File.dirname(key_path))
|
||||
File.write(key_path, cred_json_text(missing))
|
||||
ENV['HOME'] = dir
|
||||
expect { @clz.from_well_known_path(@scope) }.
|
||||
to raise_error RuntimeError
|
||||
expect { @clz.from_well_known_path(@scope) }
|
||||
.to raise_error RuntimeError
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue