jejacks0n / teaspoon

Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.
1.43k stars 243 forks source link

Rails.root vs Dir.pwd #385

Closed brewster1134 closed 9 years ago

brewster1134 commented 9 years ago

Potential fix for allowing teaspoon to run via a rails server daemon

jejacks0n commented 9 years ago

Hmmm.. I'll have to think about this, but thanks for raising the issue and looking at a fix.

jejacks0n commented 9 years ago

Can you rebase master to make sure it's passing? A change to istanbul output broke a few specs.

brewster1134 commented 9 years ago

so after playing around with this, and better familiarizing myself the teaspoon code, i think this PR can be closed....if i set the TEASPOON_ENV env var before starting the server daemon, i can run the tests successfully... it seems you had already built this ability in :smile: