[rspec-users] rSpec on Rails 1.2?
Chad Humphries
chad at spicycode.com
Fri Nov 24 20:23:12 EST 2006
Followup:
Adding the following to your tests that encounter the problem seems
to fix them
self.fixture_path = RAILS_ROOT + '/spec/fixtures'
Discovered on the related rails ticket:
http://dev.rubyonrails.org/ticket/6672
-Chad
On Nov 24, 2006, at 6:12 AM, Mathias Biilmann Christensen wrote:
> I have nearly the same problem, though for me it seems to be fixture
> related.
>
> Every context that includes fixtures breaks with the 'can't convert
> nil into String' TypeError.
>
> I tried building the trunk version of RSpec and installing the head
> version of the rails plugin, but no luck.
>
> Really shouldn't have decided to use RSpec for my attempt at a rapid
> programming contest submission!
>
> Regards,
> Mathias
>
>
> On Nov 24, 2006, at 8:11 AM, s.ross wrote:
>
>> I just updated my Rails install to the most current Edge and my
>> controller specs fail:
>>
>> 1)
>> TypeError in 'The User Controller should be a user controller'
>> can't convert nil into String
>>
>> Each spec fails the same way.
>>
>> <context string> <spec string>
>> can't convert nil into String
>>
>> Any ideas what's up with this?
>>
>> Thanks,
>>
>> s.ross
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users
mailing list