diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-01-09 13:07:06 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-01-09 13:07:06 +0100 |
commit | df774fae4148fcb91380841c48514762d255affb (patch) | |
tree | 887e9c9960df35cda02f3aaf564bf8158e1f974d /qa | |
parent | fce8f526b19a4b7d5b68cf0ff109b77bceaeeaf3 (diff) | |
download | gitlab-ce-df774fae4148fcb91380841c48514762d255affb.tar.gz |
Fux Rubocop offense by freezeing consts in QA test
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/scenario/test/sanity/selectors.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/scenario/test/sanity/selectors.rb b/qa/qa/scenario/test/sanity/selectors.rb index 9f3a14b245a..d42dfcfa364 100644 --- a/qa/qa/scenario/test/sanity/selectors.rb +++ b/qa/qa/scenario/test/sanity/selectors.rb @@ -5,10 +5,10 @@ module QA class Selectors < Scenario::Template include Scenario::Bootable - PAGE_MODULES = [QA::Page] + PAGES = [QA::Page].freeze def perform(*) - validators = PAGE_MODULES.map do |pages| + validators = PAGES.map do |pages| Page::Validator.new(pages) end |