Re: [rspec-users] Problem with view spec - works inside the browser but spec fails with nil object

2007-11-11 Thread Caio Moritz Ronchi
= Array.new @questions[4] = ... assigns[:questions] = @questions Kind regards, Hans ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users -- Caio Moritz Ronchi

[rspec-users] Problem with view spec - works inside the browser but spec fails with nil object

2007-11-10 Thread Caio Moritz Ronchi
in question.alternatives -% %= radio_button 'candidate', question_#{question.id}, alternative.id% label for=candidate_question%= alternative.description %/label br / % end -% /div I'm not that experienced with Rails nor RSpec, so I'm totally lost about this problem. -- Caio Moritz Ronchi