jejacks0n / teaspoon

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

You can no longer provide a root configuration and append asset paths when running via the CLI. #341

Closed jejacks0n closed 9 years ago

jejacks0n commented 9 years ago

If you have an engine for instance it's common to setup a dummy rails app within the spec path. It's nice to not have to put the javascript specs within the dummy app, and instead configure teaspoon to specify it's root, and any additional asset paths that you might want to include.

Things are working with the rake task, but not when run via the CLI. This has to do with the changes to how things are loaded when run via the console -- #340.

jejacks0n commented 9 years ago

There's no tests for this, because it's kinda hard to craft a specific setup for this, but in master you can't run teaspoon via teaspoon anymore, and so we can use that as a testbed.