On Mon, Jun 10, 2013 at 4:25 AM, oliver <oliverjesus2...@yahoo.com> wrote:

> <%= f.select :group_name,
> options_for_select(@group_mst.collect{|x| [x.group_name]}), {:multiple =>
> :multiple} %>
>
> that is on the line 44.
>

And the error raised on that line says "The error occurred while evaluating
nil.collect". The only thing receiving "collect" on that line is
@group_mst, so the spec has to do something to assign an Enumerable to
@group_mst before calling render in the spec. Is there a line in the
controller that assigns something to @group_mst? If so, what's on that line?
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to