Displaying 1 result from an estimated 1 matches for "survey_nam".
Did you mean:
survey_name
2007 Nov 10
2
Problem with view spec - works inside the browser but spec fails with nil object
...t some
tags inside the "response" object):
require File.dirname(__FILE__) + ''/../../spec_helper''
describe ''/survey/show'' do
fixtures ''questions'', ''alternatives''
before(:each) do
assigns[:configurations] = {:survey_name => ''Whatever''}
assigns[:questions] = Array.new
assigns[:questions][4] = questions(:faixa_etaria)
@faixa_etaria = questions(:faixa_etaria)
end
it ''should display the "question 4" heading correctly'' do
render ''survey/show...