RSpec看到xits但没有其他测试?

时间:2010-07-29 02:52:05

标签: ruby-on-rails ruby rspec rake

所以,每当我在我的应用程序目录中运行“rake spec”时,我都会看到:

admin@nurvus:~/workspace/spec $ rake spec
(in /Users/admin/workspace/)
DEPRECATION WARNING: Rake tasks in vendor/plugins/abingo/tasks, vendor/plugins/delayed_job/tasks, vendor/plugins/funkytown/tasks, vendor/plugins/funkytown/tasks, vendor/plugins/git_helper/tasks, vendor/plugins/git_helper/tasks, and vendor/plugins/jrails/tasks are deprecated. Use lib/tasks instead. (called from /.rvm/gems/ruby-1.8.7-p299/gems/rails-2.3.8/lib/tasks/rails.rb:10)
** Invoke spec (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:abort_if_pending_migrations
** Execute db:test:prepare
** Invoke db:test:load (first_time)
** Invoke db:test:purge (first_time)
** Invoke environment 
** Execute db:test:purge
** Execute db:test:load
** Invoke db:schema:load (first_time)
** Invoke environment 
** Execute db:schema:load
** Execute spec
No server is running
Running specs locally:
DEPRECATION WARNING: require "activesupport" is deprecated and will be removed in Rails 3. Use require "active_support" instead. (called from /.rvm/gems/ruby-1.8.7-p299/gems/activesupport-2.3.8/lib/activesupport.rb:2)
DEPRECATION WARNING: require "activerecord" is deprecated and will be removed in Rails 3. Use require "active_record" instead. (called from /.rvm/gems/ruby-1.8.7-p299/gems/activerecord-2.3.8/lib/activerecord.rb:2)

Example disabled: should return the next ordered survey
Example disabled: should not redirect unsupported browser

admin@nurvus:~/workspace/spec $

有超过2500个测试没有运行,但它显然正在解析文件,因为正在看到禁用的示例。对此有任何顶级想法吗?

0 个答案:

没有答案