jejacks0n / teaspoon

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

require_tree not working #218

Closed tygriffin closed 10 years ago

tygriffin commented 10 years ago

In spec_helper.js requiring files individually works fine, but require_tree doesn't.

Works:

//= require lesson_notes/angular/vendor/angular-pageslide-directive

Doesn't work:

//= require_tree lesson_notes/angular/vendor

I'm using the latest version of Teaspoon in a Rails 4.1 engine.

jejacks0n commented 10 years ago

man, this is old. but since you never closed it I assume you just abandoned it. obviously, per the rails docs, and the error that you likely saw, require_tree needs a relative path.