标签: testing mocha-phantomjs teaspoon
enter image description here Rails.application.config.assets.precompile += %w( support/phantomjs-shims.self.js )
Rails.application.config.assets.precompile += %w( support/phantomjs-shims.self.js )
config/initializers/assets.rb重新启动服务器。
config/initializers/assets.rb