Class: Guard::RSpecJRubyRunner

Inherits:
Guard::RSpec::Runner
  • Object
show all
Defined in:
lib/guard/rspec-jruby.rb

Instance Method Summary collapse

Instance Method Details

#run_via_shell(paths, options) ⇒ Object



22
23
24
25
26
27
28
29
30
31
# File 'lib/guard/rspec-jruby.rb', line 22

def run_via_shell(paths, options)
  success = 1

  with_container do |ct|
    ct.put('arguments', paths)
    success = ct.runScriptlet("RSpec::Core::Runner.run(arguments)")
  end

  success == 0
end