I wrote a simple summary of Mocks with RSpec as an answer to a
discussion on our local Ruby users group. I was wondering if people
here could review it, adding comments for any corrections or other
important ideas regarding mocks and RSpec. You can find the article
here: http://blog.showc
test
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
response.should be_redirect
> end
> end
controller.stub!
(:some_protected_method_call).and_return(whatever_it_should_return)
That work?
> ___
> rspec-users mailing list
> [EMAIL PROTECTED]://rubyforge.org/mailman/listinfo/rs
On Jul 10, 2:59 pm, Jim Morris <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Shouldn't there be a rake task in rails to run the stories?
There is one, but it needs a tweak. It uses the ruby method instead of
sh, so you only get output if it fails. I'll get that fixed.
> and
,
Priit
[1] http://github.com/dbloete/masquerade
On Sep 2, 12:31 am, "David Chelimsky" <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 1, 2008 at 3:31 PM, aslak hellesoy <[EMAIL PROTECTED]> wrote:
> > On Mon, Sep 1, 2008 at 9:25 PM, Priit Tamboom <[EMAIL PROTECTED]&
On Sep 9, 11:16 pm, Pat Maddox <[EMAIL PROTECTED]> wrote:
> "aslak hellesoy" <[EMAIL PROTECTED]> writes:
> > On Tue, Sep 9, 2008 at 7:16 PM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> >> Aslak - I think Matt is looking for this:
>
> >>