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? STDERR.puts "bundle exec rspec #{specs.join(' ')}" exec "bundle exec rspec #{specs.join(' ')}" else puts 'no specs found to run' end end end end end