jejacks0n / teaspoon

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

Document TEASPOON_ENV #314

Closed mikepack closed 9 years ago

mikepack commented 9 years ago

Addresses #258

Hoping this covers all cases.

jejacks0n commented 9 years ago

Seems reasonable. I don't disagree with where you have it, but is it maybe better suited for the CLI area of the documentation? I guess the reason is that if the env is not where it's expected, it can be manually required within the rails pipeline so the browser interface still works, but the env is one of the first things loaded from the CLI, and so that's when the override comes into play.

mikepack commented 9 years ago

This override wouldn't affect the browser runner? I would suspect putting this in a .env would have it affect all uses of Teaspoon.

jejacks0n commented 9 years ago

That's true it would. Point taken.