jejacks0n / teaspoon

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

application.css.js and test_helper.css.js #243

Closed Emerson closed 10 years ago

Emerson commented 10 years ago

I'm almost positive this is related to my own setup, but wanted to ask here just in case someone has seen this before.

When I load up my teaspoon tests, I see a (failed) request for application.css.js and test_helper.css.js - my Rails app responds with an error page, which results in an unexpected token, causing my tests to fail.

Any idea what could be causing this? Feel free to close this ticket...

Emerson commented 10 years ago

Closing. After playing around with suite.stylesheets and suite.helper in the teaspoon_env.rb file I was able to resolve the issue. Also had to do a number of "hard refreshes".

jejacks0n commented 10 years ago

Interesting.. can you provide some more background? As in, is there something we can do to help mitigate the confusion?