Re: [rspec-users] testing behaviour or testing code?

2007-09-01 Thread Pat Maddox
On 8/24/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > On 8/24/07, Pat Maddox <[EMAIL PROTECTED]> wrote: > > On 8/24/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > > > describe Widget, "class" do > > > it "should provide a list of widgets sorted alphabetically" do > > > Widget.should_rece

Re: [rspec-users] Deprecating the mocking framework?

2007-09-01 Thread Wilson Bilkovich
On 9/1/07, rupert <[EMAIL PROTECTED]> wrote: > > On 1 Sep 2007, at 10:04, Tom Stuart wrote: > > > On 1 Sep 2007, at 09:31, rupert wrote: > >>> Are we planning on dumping the mock framework in favor of using > >>> Mocha > >> The idea has been bandied around on the dev list recently This decision,

Re: [rspec-users] Deprecating the mocking framework?

2007-09-01 Thread David Chelimsky
On 9/1/07, Andrew WC Brown <[EMAIL PROTECTED]> wrote: > After a quick google search: > > http://www.slideshare.net/viget/mockfight-flexmock-vs-mocha In fairness - there is something lacking in the slide set - it suggests that mocha supports parameter matchers and flexmock does not. In fact, flexmo

Re: [rspec-users] Deprecating the mocking framework?

2007-09-01 Thread Andrew WC Brown
After a quick google search: http://www.slideshare.net/viget/mockfight-flexmock-vs-mocha I have no problem using a external mocking framework but its the choosing. convention over configuration. On 9/1/07, rupert <[EMAIL PROTECTED]> wrote: > > > On 1 Sep 2007, at 18:16, Andrew WC Brown wrote:

Re: [rspec-users] Deprecating the mocking framework?

2007-09-01 Thread rupert
On 1 Sep 2007, at 18:16, Andrew WC Brown wrote: > My question is what would you recommend for Mocking? > > Mocha or FlexMock? Personally, I've not got a clue as all I've used to date is the rspec mocking framework. I've had a quick look at Mocha and it seems pretty good, but haven't looked

Re: [rspec-users] Deprecating the mocking framework?

2007-09-01 Thread Andrew WC Brown
My question is what would you recommend for Mocking? Mocha or FlexMock? On 9/1/07, rupert <[EMAIL PROTECTED]> wrote: > > > On 1 Sep 2007, at 10:04, Tom Stuart wrote: > > > On 1 Sep 2007, at 09:31, rupert wrote: > >>> Are we planning on dumping the mock framework in favor of using > >>> Mocha > >

Re: [rspec-users] How to spec routes for a resource nested in multiples resources?

2007-09-01 Thread rupert
> On 8/31/07, Edgar Gonzalez <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I got the resource "Llamadas" nested in: >> - Operadores >> - Productos >> - Centros >> >> Here is part of my routes http://pastie.caboo.se/92767 >> >> I want to spec that the routes for Llamadas, I tried several >> approachs: >

Re: [rspec-users] How to spec routes for a resource nested in multiples resources?

2007-09-01 Thread David Chelimsky
On 8/31/07, Edgar Gonzalez <[EMAIL PROTECTED]> wrote: > Hi, > > I got the resource "Llamadas" nested in: > - Operadores > - Productos > - Centros > > Here is part of my routes http://pastie.caboo.se/92767 > > I want to spec that the routes for Llamadas, I tried several approachs: > > - route_for(:c

Re: [rspec-users] Deprecating the mocking framework?

2007-09-01 Thread rupert
On 1 Sep 2007, at 10:04, Tom Stuart wrote: > On 1 Sep 2007, at 09:31, rupert wrote: >>> Are we planning on dumping the mock framework in favor of using >>> Mocha >> The idea has been banded around on the dev list recently > > This makes me sad, because it means only one thing for the majority >

Re: [rspec-users] Deprecating the mocking framework?

2007-09-01 Thread Wincent Colaiuta
El 1/9/2007, a las 11:15, Peter Marklund escribió: > I understand where you're coming from Tom. But it's currently two > script/plugin installs to start using RSpec with Rails, making it be > three (the current two plus a mocking framework) is presumably not > going to change adoption or the hurdl

Re: [rspec-users] Deprecating the mocking framework?

2007-09-01 Thread Pat Maddox
On 9/1/07, rupert <[EMAIL PROTECTED]> wrote: > > I saw in one of Dave C.'s comments to a ticket that "our current plan > > is to deprecate the mocking framework." I hadn't heard anything about > > that, but then again I haven't paid super close attention to the list. > > Are we planning on dumpin

Re: [rspec-users] Deprecating the mocking framework?

2007-09-01 Thread Peter Marklund
I understand where you're coming from Tom. But it's currently two script/plugin installs to start using RSpec with Rails, making it be three (the current two plus a mocking framework) is presumably not going to change adoption or the hurdle of using RSpec by much. I currently use Mocha beca

Re: [rspec-users] Deprecating the mocking framework?

2007-09-01 Thread Tom Stuart
On 1 Sep 2007, at 09:31, rupert wrote: >> Are we planning on dumping the mock framework in favor of using >> Mocha > The idea has been banded around on the dev list recently This makes me sad, because it means only one thing for the majority of users: more hassle. So now I have to choose a mo

Re: [rspec-users] Deprecating the mocking framework?

2007-09-01 Thread rupert
> I saw in one of Dave C.'s comments to a ticket that "our current plan > is to deprecate the mocking framework." I hadn't heard anything about > that, but then again I haven't paid super close attention to the list. > Are we planning on dumping the mock framework in favor of using Mocha > (or an