Workaround for specs to pass.

assign(key, value) is a view helper method.
Its accessible only in view specs and not in controller specs.

For now, added a temporary method to spec_helper.
This method is uses the old assigns[] format and is used by controllers.