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.
Revert "Workaround for specs to pass."

This reverts commit cced4692fb04140e381b9412cec22b9517528b84.
Merge remote-tracking branch 'main_gocd/master'
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.
Merge pull request #212 from bsharanya/master

Workaround for specs to pass.