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-6.21.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.20.1 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.20.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.19.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.18.2 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.18.1 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.18.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.17.1 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.17.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.16.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.15.4 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.15.3 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.15.2 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.15.1 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.15.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.14.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.13.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.12.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.11.0 lib/gitlab/qa/scenario/template.rb
gitlab-qa-6.10.1 lib/gitlab/qa/scenario/template.rb