I am trying to require some Javascript files for use in my Rails RSpec tests. They are specifically for testing jQuery drag and drop, but I can't seem to find documentation anywhere as to how to require them for testing. I have copied the .js files to spec/javascripts/helpers, but I don't know how to tell RSpec to require them. I tried to require them in my spec_helper.rb:
require 'spec/javascripts/helpers/jquery.simulate.js'
require 'spec/javascripts/helpers/jquery.simulate.ext.js'
require 'spec/javascripts/helpers/jquery.simulate.drag-n-drop.js'
But that just gives me
cannot load such file -- spec/javascripts/helpers/jquery.simulate.js (LoadError)