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
|
instance = params[:browser] || @browser
|
||||||
comment = params[:comment] || ''
|
comment = params[:comment] || ''
|
||||||
filename = "tmp/#{Time.zone.now.strftime("screenshot_%Y_%m_%d__%H_%M_%S")}_#{comment}_#{instance.hash}.png"
|
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)
|
instance.save_screenshot(filename)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue