[rspec-users] Can't get running a simple rspec test: assigns is always nil
Alexander Seidl
a_seidl at web.de
Wed Oct 21 07:03:36 EDT 2009
im repeating this message here in the mailing list with an email.
i already answered the message at http://www.ruby-forum.com,
but it seems that delivering messages via
http://www.ruby-forum.com lasts way too long, so i write an email to the mailing list.
hi pat,
thats all of the code that will be executed in
categories_controller_spec.rb. the rest is commented out.
i use the newest version of both gems? could that be a bug. which
versions of rpsec and rspec-rails do you use?
alexanders at alexanders-desktop:$ gem list -l rspec
*** LOCAL GEMS ***
rspec (1.2.9, 1.2.8)
rspec-rails (1.2.9, 1.2.7.1)
cheers,
Alexander
Pat Maddox schrieb:
> Is this all of the code, or did you remove some stuff? I copied the
> code in a new rails app and the test passed. What versions of rspec &
> rspec-rails are you running?
>
> Pat
>
> On Tue, Oct 20, 2009 at 5:23 AM, Alexander Seidl <lists at ruby-forum.com> wrote:
>
>> http://pastie.org/pastes/661816
>>
>> hi,
>> please have a look at my code. Perhaps anybody knows a solution for that
>> problem.
>>
>> Attachments:
>> http://www.ruby-forum.com/attachment/4165/pastie-661816.txt
>>
>> --
>> Posted via http://www.ruby-forum.com/.
>> _______________________________________________
>> 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