Max Williams
2008-Feb-01 10:23 UTC
rspec crashes if any tests have failed - is this normal?
I just installed spec (plugin) and rspec_on_rails. It seems to work, but if any tests have failed, after doing the report it seems to crash, with this message - 5 examples, 2 failures rake aborted! Command ruby -I"/home/jars/rails/lesson_planner/branches/max/vendor/plugins/rspec/lib" "/home/jars/rails/lesson_planner/branches/max/vendor/plugins/rspec/bin/spec" "spec/models/instrument_name_spec.rb" --options "/home/jars/rails/lesson_planner/branches/max/spec/spec.opts" failed Is this normal? It''s a bit disconcerting, making me worry i''ve not got it set up right. thanks max -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thorsten Mueller
2008-Feb-01 10:42 UTC
Re: rspec crashes if any tests have failed - is this normal?
no, it''s not normal. we''re using rspec since a few months and had nor trouble like that (sorry, so i can''t help you there. by the way in such cases it may be helpful to post a few details about your setup, os, rails version etc) the only trouble we had are with namespaces, we have to touch part of our specs once in a while. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Max Williams
2008-Feb-01 10:57 UTC
Re: rspec crashes if any tests have failed - is this normal?
Thorsten Mueller wrote:> no, it''s not normal. we''re using rspec since a few months and had nor > trouble like that (sorry, so i can''t help you there. by the way in such > cases it may be helpful to post a few details about your setup, os, > rails version etc) > the only trouble we had are with namespaces, we have to touch part of > our specs once in a while.Thanks Thorsten - here''s some details in case anyone else can help - I''m using ubuntu linux 7.10 (in a vm in windows) our project is using rails 1.2.3 rspec plugin Version 1.1.3 rspec_on_rails - i can''t find the version, but i installed it from this url yesterday if that''s any use: http://rspec.rubyforge.org/svn/tags/CURRENT/rspec_on_rails -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Max Williams
2008-Feb-01 11:07 UTC
Re: rspec crashes if any tests have failed - is this normal?
I managed to fix/work around my problem: if i do>ruby script/spec specit''s fine, it''s only when i do>rake specthat it crashes when tests fail. Still curious as to why it crashed though... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---