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 th

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 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 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. >> > > A

[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