Re: [rspec-users] [cucumber] Tests pass, application does not.

2009-04-09 Thread James Byrne
Pat Maddox wrote: > > > I just did a github search and the only place I found method_exists? > referenced was in mocha. So my guess is that in test mode, mocha is > being loaded and so it's passing for you. Try using respond_to? > instead of method_exists? I've never even heard of method_exists

Re: [rspec-users] [cucumber] Tests pass, application does not.

2009-04-09 Thread David Chelimsky
On Thu, Apr 9, 2009 at 2:48 PM, Joseph Wilk wrote: > > James Byrne wrote: >> >> James Byrne wrote: >> >>> >>> This has just cropped up this morning and I have no clue as to what is >>> causing it. >>> >>> Here is the error when running the application through the web browser >>> in development: >>

Re: [rspec-users] [cucumber] Tests pass, application does not.

2009-04-09 Thread David Chelimsky
On Thu, Apr 9, 2009 at 1:55 PM, Pat Maddox wrote: > On Thu, Apr 9, 2009 at 9:46 AM, James Byrne wrote: >> This has just cropped up this morning and I have no clue as to what is >> causing it. >> >> Here is the error when running the application through the web browser >> in development: >> >>  un

Re: [rspec-users] [cucumber] Tests pass, application does not.

2009-04-09 Thread Joseph Wilk
James Byrne wrote: James Byrne wrote: This has just cropped up this morning and I have no clue as to what is causing it. Here is the error when running the application through the web browser in development: undefined method `method_exists?' for # I put in a print self.methods.sort

Re: [rspec-users] [cucumber] Tests pass, application does not.

2009-04-09 Thread James Byrne
James Byrne wrote: > This has just cropped up this morning and I have no clue as to what is > causing it. > > Here is the error when running the application through the web browser > in development: > > undefined method `method_exists?' for # I put in a print self.methods.sort.to_yaml and, sure

Re: [rspec-users] [cucumber] Tests pass, application does not.

2009-04-09 Thread Pat Maddox
On Thu, Apr 9, 2009 at 9:46 AM, James Byrne wrote: > This has just cropped up this morning and I have no clue as to what is > causing it. > > Here is the error when running the application through the web browser > in development: > >  undefined method `method_exists?' for # > > /usr/lib64/ruby/ge

[rspec-users] [cucumber] Tests pass, application does not.

2009-04-09 Thread James Byrne
This has just cropped up this morning and I have no clue as to what is causing it. Here is the error when running the application through the web browser in development: undefined method `method_exists?' for # /usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/attribute_methods.