Corrected with rubocop cop 'Style/SpaceInsideHashLiteralBraces'.
This commit is contained in:
parent
240a991fd9
commit
cfd863a07f
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class TestCase < Test::Unit::TestCase
|
|||
instance = params[:browser] || @browser
|
||||
comment = params[:comment] || ''
|
||||
filename = "tmp/#{Time.zone.now.strftime("screenshot_%Y_%m_%d__%H_%M_%S")}_#{comment}_#{instance.hash}.png"
|
||||
log('screenshot', {filename: filename})
|
||||
log('screenshot', { filename: filename })
|
||||
instance.save_screenshot(filename)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue