maltize / sublime-text-2-ruby-tests

Sublime Text 2 plugin for running ruby tests! (Unit, RSpec, Cucumber)
721 stars 119 forks source link

Output goes to Spork terminal instead of Sublime window #257

Open mcbsys opened 9 years ago

mcbsys commented 9 years ago

I've been using sublime-text-2-ruby-test with RSpec and Spork for a couple years. Test results always appear in the Sublime window.

Today I refreshed sublime-text-2-ruby-test from source. Now test results and messages only appear in the terminal window where I started Spork. In Sublime, Ctrl-` gives me this:

Running r s p e c   s p e c / f e a t u r e s / a c c o u n t _ p a g e s _ f e a t u r e _ s p e c . r b : 4 8
Traceback (most recent call last):
  File "./sublime_plugin.py", line 362, in run_
  File "./run_ruby_test.py", line 373, in run
  File "./run_ruby_test.py", line 214, in run_shell_command
  File "./run_ruby_test.py", line 219, in display_results
  File "./run_ruby_test.py", line 13, in display_results
AttributeError: 'NoneType' object has no attribute 'get_output_panel'

If I run without Spork, the output appears the Sublime window as expected.

Same symptoms have been reported on StackOverflow..