[rspec-users] Extending assigns in controller specs?

Chris Hoffman bosshoff at gmail.com
Thu Apr 5 08:55:53 EDT 2007

  I am interested in enhancing assigns in controller specs to do
things like the following

assigns[:key1, :key2, :key3] #=> vals for keys

Is there away to "break open" this construction to overload the :[] operator?



More information about the rspec-users mailing list