Class: TestDiff::TestRunner::Spec
- Inherits:
-
Object
- Object
- TestDiff::TestRunner::Spec
- Defined in:
- lib/test_diff/test_runner/spec.rb
Overview
class to run rspec tests
Instance Method Summary collapse
Instance Method Details
#run_tests(specs) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/test_diff/test_runner/spec.rb', line 8 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 |