ahuth / preview-tabs

Sublime-style preview tabs for Atom
MIT License
11 stars 2 forks source link

In tests set the editor path instead of overriding method #7

Closed ahuth closed 9 years ago

ahuth commented 9 years ago

In the PreviewTabsPreview specs, see if it's possible to directly set the test editor's path, instead of overriding the getPath method.

getPath is an implementation detail, so not depending on it in the test will be better/more future-proof.