Sha256: ae33f490fdf28b3f41a4868b938e1ced737c8db6ea597793c1d7d18aa6cc4d21

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

require 'git'
# TestDiff module
module TestDiff
  # module for test runners
  module TestRunner
    # class to run rspec tests
    class Rspec
      def run_tests(specs)
        if specs.any?
          puts "bundle exec rspec #{specs.join(' ')}"
          exec "bundle exec rspec #{specs.join(' ')}"
        else
          puts 'no specs found to run'
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test_diff-0.3.0 lib/test_diff/test_runner/rspec.rb