Sha256: 497c05e0512f356e81c05a716781287309c1562b973e028c477e7b221259271c
Contents?: true
Size: 582 Bytes
Versions: 8
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
8 entries across 8 versions & 1 rubygems