[rspec-users] what's the different between ([@weather]) and (@weather)?
lists at ruby-forum.com
Thu Mar 26 02:23:55 EDT 2009
@weather = mock_model(Weather)
I saw this code on peepcode, but I'm a little confused the
mostly, we just and_return(@weather), don't we? so, what is the meaning
of and_return([@weather]) ?
Posted via http://www.ruby-forum.com/.
More information about the rspec-users