Sha256: b87655835c922a59b35e6308493bda2c814627fe803b588fdca000d6ee101e3e

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

require 'git'
# TestDiff module
module TestDiff
  # module for test runners
  module TestRunner
    # class to run rspec tests
    class Spec
      def run_tests(specs)
        if specs.any?
          puts "bundle exec spec #{specs.join(' ')}"
          exec "bundle exec spec #{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/spec.rb