rspec-rails how to test locals in controller spec?

27 views
Skip to first unread message

dgo...@gmail.com

unread,
Jun 10, 2015, 4:54:54 PM6/10/15
to rs...@googlegroups.com
Hi,

I have a controller that uses locals - for example

render 'api/v1/app_versions/show', :locals => {:update_message => update_message}

how do I test locals hash in my controller spec?

Thank you,
David
Reply all
Reply to author
Forward
0 new messages