summaryrefslogtreecommitdiff
path: root/qa/qa/scenario/taggable.rb
blob: b1f24d742e0d4f9303f8a6c4b96abaf3ae5778d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module QA
  module Scenario
    module Taggable
      # rubocop:disable Gitlab/ModuleWithInstanceVariables

      def tags(*tags)
        @tags = tags
      end

      def focus
        @tags.to_a
      end

      # rubocop:enable Gitlab/ModuleWithInstanceVariables
    end
  end
end