Sha256: f48ec03976deecf9a6fb262c26399b0b83b5571c0ff9ef66ab0f6425575f85d1
Contents?: true
Size: 582 Bytes
Versions: 1
Compression:
Stored size: 582 Bytes
Contents
module Knapsack module Runners class RSpecRunner def self.run(args) allocator = Knapsack::AllocatorBuilder.new(Knapsack::Adapters::RspecAdapter).allocator puts puts 'Report specs:' puts allocator.report_node_tests puts puts 'Leftover specs:' puts allocator.leftover_node_tests puts cmd = %Q[bundle exec rspec #{args} --default-path #{allocator.test_dir} -- #{allocator.stringify_node_tests}] system(cmd) exit($?.exitstatus) unless $?.exitstatus.zero? end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
knapsack-1.3.4 | lib/knapsack/runners/rspec_runner.rb |