jejacks0n / teaspoon

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

(Requirejs) Asset paths fixes for when config assets path prefix is not standard. #138

Closed inlineblock closed 10 years ago

inlineblock commented 10 years ago

Rails.application.config.assets.prefix for require config defaults, instead of hardcoded /assets, for require js.

jejacks0n commented 10 years ago

Thanks! Can you tell why CI is failing?

inlineblock commented 10 years ago

Fixed it. Turns out my test implementation of Rails config wasn't valid one and I initially coded it to an invalid one. The prefix should start with a /.

inlineblock commented 10 years ago

Also I deserve a slap on the wrists for not running the specs afterwards.

jejacks0n commented 10 years ago

Haha, no worries.. thanks. =)