Corrected with rubocop cop 'Style/SpaceInsideHashLiteralBraces'.

This commit is contained in:
Thorsten Eckel 2015-05-04 16:17:36 +02:00
parent 240a991fd9
commit cfd863a07f

View file

@ -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