Re: [rspec-users] Merb

2008-10-22 Thread Ashley Moran
On Oct 21, 2008, at 7:24 am, Jarkko Laine wrote: Yeah, I was using that API to a great extent with a recent project and was pretty successful at doing outside-in development with rspec and merb. The syntax used in merb controller specs is a bit different from what Rails uses, but once you

Re: [rspec-users] Merb

2008-10-21 Thread Jarkko Laine
On 20.10.2008, at 22.05, Ashley Moran wrote: There is an API for this though[2], and it was deprecated as of RC1, but has now apparently been reintroduced. Lawrence Pit on the merb list explains the syntax: # Example # dispatch_to(MyController, :create, :name = 'Homer' ) do

Re: [rspec-users] Merb

2008-10-20 Thread Ashley Moran
On Oct 19, 2008, at 10:31 pm, Caius Durling wrote: Funny you should post this, I picked up merb today as well (seeing as the API is finally frozen) and was thinking about posting to see if anyone else was. Well, I've done a bit more research (asking around on the Merb list), and it

Re: [rspec-users] Merb

2008-10-20 Thread Ben Mabey
Ashley Moran wrote: On Oct 19, 2008, at 10:31 pm, Caius Durling wrote: Funny you should post this, I picked up merb today as well (seeing as the API is finally frozen) and was thinking about posting to see if anyone else was. Well, I've done a bit more research (asking around on the Merb

[rspec-users] Merb

2008-10-19 Thread Ashley Moran
Hi Two questions: Anyone using Merb here, and writing specs for it? (I've just started tonight, so I'm figuring stuff out as I go along.) And WDYAT of their spec extensions[1]? Specifically their given given a item exists do request(resource(:items), :method = POST, :params =

Re: [rspec-users] Merb

2008-10-19 Thread Ashley Moran
On Oct 19, 2008, at 9:43 pm, David Chelimsky wrote: Well, in fairness to wycats, rspec doesn't really offer formal extension points that would support this syntax, so he did the best he could given what is available. We've had some discussion about this and haven't landed anywhere firm yet.

Re: [rspec-users] Merb

2008-10-19 Thread David Chelimsky
On Sun, Oct 19, 2008 at 4:11 PM, Ashley Moran [EMAIL PROTECTED] wrote: On Oct 19, 2008, at 9:43 pm, David Chelimsky wrote: Well, in fairness to wycats, rspec doesn't really offer formal extension points that would support this syntax, so he did the best he could given what is available.

Re: [rspec-users] Merb

2008-10-19 Thread Ben Mabey
Caius Durling wrote: On 19 Oct 2008, at 20:36, Ashley Moran wrote: Anyone using Merb here, and writing specs for it? (I've just started tonight, so I'm figuring stuff out as I go along.) Funny you should post this, I picked up merb today as well (seeing as the API is finally frozen) and

Re: [rspec-users] Merb

2008-10-19 Thread Ashley Moran
On Oct 19, 2008, at 10:31 pm, Caius Durling wrote: Funny you should post this, I picked up merb today as well (seeing as the API is finally frozen) and was thinking about posting to see if anyone else was. You attempted to throw cucumber into the mix yet? Of course! :D However, I'm