Rails.application.config.assets.paths << File.join(Rails.root, "spec", "javascripts")

Rails.application.config.assets.paths << Rails.root.join("spec", "javascripts") << Rails.root.join("spec", "stylesheets")

Add both javascript and stylesheet paths.
Add both javascript and stylesheet paths.
