[rspec-users] Can't run specs after upgrading gems... get 0 tests, 0 assertions...

Nicholas Van Weerdenburg vanweerd at gmail.com
Tue Dec 8 17:10:48 EST 2009


On Tue, Sep 29, 2009 at 9:37 PM, ignu <ignu.smith at gmail.com> wrote:

>
> So after I updated all my gems, I started getting:
>
> /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/
> dependencies.rb:105:in `const_missing': uninitialized constant
> Test::Unit::TestResult::TestResultFailureSupport (NameError)
>        from /Library/Ruby/Gems/1.8/gems/test-unit-2.0.3/lib/test/unit/
> testresult.rb:28
>        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `require'
>        from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
> active_support/dependencies.rb:158:in `require'
>        from
> /Library/Ruby/Gems/1.8/gems/rspec-1.2.8/lib/spec/interop/test.rb:
> 8
>        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `require'
>        from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
> active_support/dependencies.rb:158:in `require'
>        from /Library/Ruby/Gems/1.8/gems/rspec-1.2.8/lib/spec/test/unit.rb:1
>        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `require'
>        from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
> active_support/dependencies.rb:158:in `require'
>        from /Library/Ruby/Gems/1.8/gems/rspec-rails-1.2.7.1/lib/spec/
> rails.rb:13
>        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `require'
>        from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
> active_support/dependencies.rb:158:in `require'
>        from /Users/ignu/code/surveighor/spec/spec_helper.rb:6
>
>
> Then I added
>
>  config.gem 'test-unit', :lib => 'test/unit'
>
> to environment.rb
>
> Now I get:
>
>  0 tests, 0 assertions, 0 failures, 0 errors, 0 pendings, 0
> omissions, 0 notifications
>
> And I can't figure out why.  :-(
>
> Any ideas?
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


I had the same problem, but it suddenly went away while updating some gems.
Unfortunately, I'm not sure which one. It may have been treetop.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20091208/19864af6/attachment.html>


More information about the rspec-users mailing list