Welcome to mirror list, hosted at ThFree Co, Russian Federation.

template.rb « scenario « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 341998af1609f15a9fa34eac4eedc607fdea3772 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module QA
  module Scenario
    class Template
      def self.perform(*args)
        new.tap do |scenario|
          yield scenario if block_given?
          return scenario.perform(*args)
        end
      end

      def perform(*_args)
        raise NotImplementedError
      end
    end
  end
end