Re: [rspec-users] Failing on rake but not on textmate (rails)

2008-07-24 Thread Macario Ortega
Macario Ortega wrote: > > Btw, I am with sqlite3. Hi, I think I solved the issue, I had mocha in my plugins but I was using it in just a couple of tests and this line was commented in the spec_helper.rb # config.mock_with :mocha I removed mocha from my plugins folder ran rake and this two tes

Re: [rspec-users] Failing on rake but not on textmate (rails)

2008-07-24 Thread Macario Ortega
Dan Herrera wrote: > We get failures at times when running specs with rake spec that we > can't reproduce when running in Textmate. We came to the conclusion > that it may have something to do with transactions not rolling back > before the start of the next test. So even though the models we >

Re: [rspec-users] Failing on rake but not on textmate (rails)

2008-07-24 Thread Macario Ortega
Btw, I am with sqlite3. -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Failing on rake but not on textmate (rails)

2008-07-24 Thread Dan Herrera
On Thu, Jul 24, 2008 at 12:27 PM, Macario Ortega <[EMAIL PROTECTED]> wrote: > Rick Denatale wrote: >> On Mon, Jul 21, 2008 at 8:34 PM, Mark Wilden <[EMAIL PROTECTED]> >> wrote: >> >>> don't know if that explains the behavior you're seeing. >>> >>> I would like to use autotest but I can't trust

Re: [rspec-users] Failing on rake but not on textmate (rails)

2008-07-24 Thread Macario Ortega
Rick Denatale wrote: > On Mon, Jul 21, 2008 at 8:34 PM, Mark Wilden <[EMAIL PROTECTED]> > wrote: > >> don't know if that explains the behavior you're seeing. >> >> >>> I would like to use autotest but I can't trust the results. >>> >> >> autotest also does not copy the database structure. I've be

Re: [rspec-users] Failing on rake but not on textmate (rails)

2008-07-22 Thread Steve Eley
On Tue, Jul 22, 2008 at 1:56 PM, Macario Ortega <[EMAIL PROTECTED]> wrote: > > Well I don't trust autotest because the same tests pass when i run them > from textmate and they fail when I run autotest. > > The dubbious specs are all for a specific model but some of them are > very basic such as tes

Re: [rspec-users] Failing on rake but not on textmate (rails)

2008-07-22 Thread Macario Ortega
Mark Wilden wrote: > On Mon, Jul 21, 2008 at 4:33 PM, Macario Ortega <[EMAIL PROTECTED]> > wrote: > >> >> I have a spec for a model that passes all tests if I run it using >> textmate but I run rake some of the otherwise passed tests fail. >> > > AFAIK, the main difference is that rake copies the

Re: [rspec-users] Failing on rake but not on textmate (rails)

2008-07-22 Thread Rick DeNatale
On Mon, Jul 21, 2008 at 8:34 PM, Mark Wilden <[EMAIL PROTECTED]> wrote: > On Mon, Jul 21, 2008 at 4:33 PM, Macario Ortega <[EMAIL PROTECTED]> > wrote: > >> >> I have a spec for a model that passes all tests if I run it using >> textmate but I run rake some of the otherwise passed tests fail. >> >

Re: [rspec-users] Failing on rake but not on textmate (rails)

2008-07-21 Thread Mark Wilden
On Mon, Jul 21, 2008 at 4:33 PM, Macario Ortega <[EMAIL PROTECTED]> wrote: > > I have a spec for a model that passes all tests if I run it using > textmate but I run rake some of the otherwise passed tests fail. > AFAIK, the main difference is that rake copies the development db structure to the

[rspec-users] Failing on rake but not on textmate (rails)

2008-07-21 Thread Macario Ortega
I have a spec for a model that passes all tests if I run it using textmate but I run rake some of the otherwise passed tests fail. I would like to use autotest but I can't trust the results. Any ideas? -- Posted via http://www.ruby-forum.com/. ___ rs