Sha256: 56975f5fb0f33a511ed2b782812d123b62902d2e85847b0a96393133bc69bc5d

Contents?: true

Size: 348 Bytes

Versions: 223

Compression:

Stored size: 348 Bytes

Contents

module Gitlab
  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
end

Version data entries

223 entries across 223 versions & 1 rubygems

Version Path
gitlab-qa-7.34.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.33.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.32.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.31.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.30.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.29.1 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.29.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.27.2 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.27.1 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.27.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.26.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.25.1 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.25.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.24.6 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.24.5 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.24.4 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.24.3 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.24.2 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.24.1 lib/gitlab/qa/scenario/template.rb
gitlab-qa-7.24.0 lib/gitlab/qa/scenario/template.rb