Re: [rspec-users] lots of nil problems!

2010-03-22 Thread Phillip Koebbe
On 2010-03-20 12:17 PM, David Chelimsky wrote: 2. Setup context in before blocks, not expectations We want the example names to express the intent of each example. The before block in the "with valid id' context sets two expectations, and then each example sets one of its own. If "should_not_as

[rspec-users] autotest, rails and view specs

2010-03-22 Thread Bruno Pedroso
Hi, I've read in [1] that autotest "does not work with view specs for rails versions < 2.3", but I didn't find a reason for that. Is it just a bug? -- []'s Bruno [1] http://wiki.github.com/dchelimsky/rspec/spork-autospec-pure-bdd-joy -- []'s Bruno _

Re: [rspec-users] lots of nil problems!

2010-03-22 Thread David Chelimsky
On Mar 20, 2010, at 1:22 PM, Phillip Koebbe wrote: > Patrick, don't listen to me :) Listen to David. That's just silly. Patrick, please listen to both of us (and everyone else who contributes to this list). What Phillip wrote about the difference between mocks and stubs was dead on. I was commen