Runs Rspec on modified files
8 9 10 11 12 13 14 15 16
# File 'lib/testdiff/rspec.rb', line 8 def run puts 'Running RSpec on modified files...' files = Testdiff::Modified::Specs.find if files.any? exec "rspec #{files.join(' ')}" else puts 'No modified specs.' end end