From df774fae4148fcb91380841c48514762d255affb Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon <grzesiek.bizon@gmail.com> Date: Tue, 9 Jan 2018 13:07:06 +0100 Subject: [PATCH] Fux Rubocop offense by freezeing consts in QA test --- qa/qa/scenario/test/sanity/selectors.rb | 4 ++-- 1 file 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 -- 2.30.9