Sha256: c1f7238e7124bc5686b57ac36dbf59d97ee0da1bc45e263b0d62da6749929434
Contents?: true
Size: 445 Bytes
Versions: 1
Compression:
Stored size: 445 Bytes
Contents
class RSpecRunner def initialize(dir, ruby_filter, spec_filter) @dir = dir @ruby_filter = ruby_filter @spec_filter = spec_filter end def execute() return `spec . 2>&1` end def is_configured?(all_files) return !(all_files.detect { |file| @spec_filter.filter(file) }).nil? end def should_run?(modified_files) return !(modified_files.detect { |file| @ruby_filter.filter(file) }).nil? end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
karl-loris-0.0.9 | lib/tasks/rspec/rspec_runner.rb |