`rake spec`失败,没有错误消息

时间:2014-07-10 08:53:52

标签: ruby-on-rails ruby rspec rspec-rails ruby-on-rails-2

  • OS X Mavericks
  • Ruby 1.8.7
  • Rails 2.3.18
  • Rspec 1.3.2
  • Rspec-rails 1.3.4

rake spec

的输出
$ rake spec
(in /Users/timosand/Dropbox/Development/epassi)
Please install RDoc 2.4.2+ to generate documentation.
DEPRECATION WARNING: Rake tasks in vendor/plugins/annotate_models/tasks, vendor/plugins/barcode_generator/tasks, vendor/plugins/crypted_authentication/tasks, vendor/plugins/oauth-plugin/tasks, vendor/plugins/tarantula/tasks, and vendor/plugins/ym4r_gm/tasks are deprecated. Use lib/tasks instead. (called from /usr/local/var/rbenv/versions/1.8.7-p375/lib/ruby/gems/1.8/gems/rails-2.3.18/lib/tasks/rails.rb:10)
DEPRECATION WARNING: ActiveSupport::Dependencies.load_paths is deprecated, please use autoload_paths instead. (called from /usr/local/var/rbenv/versions/1.8.7-p375/lib/ruby/gems/1.8/gems/carrierwave-0.4.10/lib/carrierwave.rb:84)
/Users/timosand/Dropbox/Development/epassi/config/initializers/oauth_consumers.rb:7: warning: already initialized constant VERSION
/Users/timosand/Dropbox/Development/epassi/lib/spreadsheet/format.rb:21: warning: already initialized constant COLORS

我有45个spec文件

$ find spec -name '*_spec.rb' | wc -l  
45

我已将p __FILE_添加到每个规范中,并且每个文件名都会被打印出来。实际的测试仍未运行。

关于如何解决这个问题的任何建议?

Here是我的spec_helper.rb和一个控制器规范作为示例

0 个答案:

没有答案