(rubocop) Fix Style/TrailingCommaInHashLiteral

This commit is contained in:
Tim Sharpe 2019-02-03 11:27:53 +11:00
parent 1aea79a9a1
commit 58f64b2843
6 changed files with 19 additions and 17 deletions

View file

@ -60,7 +60,7 @@ describe Service do
it 'reports the status of a token' do
config = {
'user' => 'first.last',
'url' => 'http://default.url'
'url' => 'http://default.url',
}
options = MockOptions.new('token' => 'token-value')
service = Service.new(options, config)
@ -69,7 +69,7 @@ describe Service do
'user' => config['user'],
'created' => '2017-09-22 02:04:18 +0000',
'last_accessed' => '2017-09-22 02:04:28 +0000',
'reserved_hosts' => []
'reserved_hosts' => [],
}
allow(Auth).to(receive(:token_status)
.with(nil, config['url'], 'token-value')