moxley / atom-ruby-test

Run Ruby tests, Rspec examples, and Cucumber features from Atom
MIT License
43 stars 36 forks source link

Fallback to selected path from tree view if no active editor #108

Closed mvalipour closed 7 years ago

mvalipour commented 7 years ago

Why

At the moment when there is no active editor, the test-file command fires off an rspec undefined test command.

What

I thought it would be nice to fall back to the selected path (file or folder) from the tree view when there is no active editor.

moxley commented 7 years ago

Thanks @mvalipour!