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

runner.rb « specs « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 83ae15d099522d9cde8c50d69fa7bbc3dd5b7f67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'rspec/core'

module QA
  module Specs
    class Runner
      include Scenario::Actable

      def rspec(*args)
        RSpec::Core::Runner.run(args.flatten, $stderr, $stdout).tap do |status|
          abort if status.nonzero?
        end
      end
    end
  end
end