Displaying 1 result from an estimated 1 matches for "27assigns".
2007 Sep 12
8
Can not ''assigns'' value in View test
...cript>
In my spec, I used assigns[:hash] = my_own_data, but an error occurred,
saying that "undefined local variable or method ''hash'' ".
How can I assign my own data to hash in my view spec?
Thank you!
--
View this message in context: http://www.nabble.com/Can-not-%27assigns%27-value-in-View-test-tf4428018.html#a12631788
Sent from the rspec-users mailing list archive at Nabble.com.