[rspec-devel] [ rspec-Bugs-7033 ] After updating to 0_7_4, all tests which load fixtures have TypeError "can't convert nil into String"
noreply at rubyforge.org
noreply at rubyforge.org
Mon Dec 4 03:29:26 EST 2006
Bugs item #7033, was opened at 2006-12-04 09:03
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=7033&group_id=797
Category: rails plugin
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: After updating to 0_7_4, all tests which load fixtures have TypeError "can't convert nil into String"
Initial Comment:
(Edge rails, os x)
To isolate, I generated a new blank model, and the same behaviour occurred:
Given a generated blank_spec.rb with fixtures loaded
- fixtures should load two Blanks (ERROR - 1)
- you shoud add more specs (ERROR - 2)
1)
TypeError in 'Given a generated blank_spec.rb with fixtures loaded fixtures should load two Blanks'
can't convert nil into String
2)
TypeError in 'Given a generated blank_spec.rb with fixtures loaded you shoud add more specs'
can't convert nil into String
In the test log, there is the following error, regardless of whether fixtures are loaded: (don't know if it is related)
Spec::Rails::HelperEvalContextController: missing default helper path spec/rails/helper_eval_context_helper
Spec::Rails::ViewSpecController: missing default helper path spec/rails/view_spec_helper
I have tried re-installing both gem & plugin.
How do I get it to give me a stack trace so I can try to figure out where it is breaking?
----------------------------------------------------------------------
Comment By: Yurii Rashkovskii (yrashk)
Date: 2006-12-04 10:29
Message:
Have you invoked ./script/generate rspec?
http://www.rashkovskii.com/articles/2006/12/02/rspec-0-7-4
Yurii.
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=7033&group_id=797
More information about the rspec-devel
mailing list