Fixed Style/LeadingCommentSpace RuboCop offense

Change-Id: Id20fb9d5b9c0ca6a6c2c34812f4130d2c8fb0c93
See: https://github.com/bbatsov/ruby-style-guide#hash-space
Bug: T117984
This commit is contained in:
Željko Filipin 2015-12-09 16:58:36 +01:00
parent 9cf6ba3887
commit 1b8964e86f
2 changed files with 1 additions and 7 deletions

View file

@ -17,12 +17,6 @@ Style/GlobalVars:
Exclude:
- 'tests/browser/features/step_definitions/mmv_performance_steps.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/LeadingCommentSpace:
Exclude:
- 'tests/browser/features/step_definitions/mmv_performance_steps.rb'
# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.

View file

@ -30,7 +30,7 @@ end
Then /^the File: page image is loaded$/ do
on(CommonsPage) do |page|
page.wait_for_image_load ".fullImageLink img"
#Has to be a global variable, otherwise it doesn't survive between scenarios
# Has to be a global variable, otherwise it doesn't survive between scenarios
$commons_time = Time.now.getutc - @commons_open_time
page.log_performance type: "file-page", duration: $commons_time * 1000
end