[rspec-users] Possible bug in proxy.rb in Rspec 1.3.1

2011-03-05 Thread Andrew Selder
In the proxy.rb file, Rspec 1.3.1 added a stanza to the it/else stack elsif @target.is_a?(Class) @target.superclass.send(sym, *args, &block) This just seems wrong to me and I'm pretty sure it's causing catastrophic errors in my build. Consider the following example: require 's

Re: [rspec-users] Possible Bug

2007-07-24 Thread David Chelimsky
On 7/24/07, Daniel N <[EMAIL PROTECTED]> wrote: > > > > On 7/25/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > > On 7/24/07, Daniel N <[EMAIL PROTECTED]> wrote: > > > > > > > > > On 7/25/07, Daniel N <[EMAIL PROTECTED]> wrote: > > > > I'm trying to test some code that has validates each and I've

Re: [rspec-users] Possible Bug

2007-07-24 Thread Daniel N
On 7/25/07, David Chelimsky <[EMAIL PROTECTED]> wrote: On 7/24/07, Daniel N <[EMAIL PROTECTED]> wrote: > > > On 7/25/07, Daniel N <[EMAIL PROTECTED]> wrote: > > I'm trying to test some code that has validates each and I've got a very > strange failure > > > > Mock 'Book_1027' expected :store_wit

Re: [rspec-users] Possible Bug

2007-07-24 Thread David Chelimsky
On 7/24/07, Daniel N <[EMAIL PROTECTED]> wrote: > > > On 7/25/07, Daniel N <[EMAIL PROTECTED]> wrote: > > I'm trying to test some code that has validates each and I've got a very > strange failure > > > > Mock 'Book_1027' expected :store_with_privacy? with (# @name="Clip_1025">) but received it wit

Re: [rspec-users] Possible Bug

2007-07-24 Thread Daniel N
On 7/25/07, Daniel N <[EMAIL PROTECTED]> wrote: I'm trying to test some code that has validates each and I've got a very strange failure Mock 'Book_1027' expected :store_with_privacy? with (#) but received it with (#) The Spec it "should check that a book can save a clip" do @user = moc

[rspec-users] Possible Bug

2007-07-24 Thread Daniel N
I'm trying to test some code that has validates each and I've got a very strange failure Mock 'Book_1027' expected :store_with_privacy? with (#) but received it with (#) The Spec it "should check that a book can save a clip" do @user = mock_model( User, :id => 3 ) @clip = mock_model( Cl