[rspec-users] Could this pull request pls be considered?

2011-10-05 Thread sundbp
https://github.com/rspec/rspec-core/pull/421 If you look at rcov's code it's clear it always use ":", not PATH_SEPARATOR. On windows where PATH_SEPARATOR=; rspec therefore breaks when using rcov (and having more than 1 directory given to the -I flag). Thanks! ___

Re: [rspec-users] Could this pull request pls be considered?

2011-10-05 Thread David Chelimsky
On Oct 5, 2011, at 3:46 AM, sundbp wrote: > https://github.com/rspec/rspec-core/pull/421 > > If you look at rcov's code it's clear it always use ":", not PATH_SEPARATOR. > On windows where PATH_SEPARATOR=; rspec therefore breaks when using rcov (and > having more than 1 directory given to the -

Re: [rspec-users] Could this pull request pls be considered?

2011-10-05 Thread Nicolás Sanguinetti
Why this instead of changing rcov to use PATH_SEPARATOR instead? On Wed, Oct 5, 2011 at 6:46 AM, sundbp wrote: > https://github.com/rspec/rspec-core/pull/421 > > If you look at rcov's code it's clear it always use ":", not PATH_SEPARATOR. > On windows where PATH_SEPARATOR=; rspec therefore breaks

Re: [rspec-users] Could this pull request pls be considered?

2011-10-05 Thread David Chelimsky
On Oct 5, 2011, at 7:08 AM, Nicolás Sanguinetti wrote: > On Wed, Oct 5, 2011 at 6:46 AM, sundbp wrote: >> https://github.com/rspec/rspec-core/pull/421 >> >> If you look at rcov's code it's clear it always use ":", not PATH_SEPARATOR. >> On windows where PATH_SEPARATOR=; rspec therefore breaks wh

[rspec-users] Why does rake spec attempt to drop development db?

2011-10-05 Thread Byo Fuel
I have a new Rails 3.1 app on Ruby 1.9.2 with Postgres. My specs pass if run separately, but when I rake spec it fails because it can't purge the development database. in task 'rake:test:purge' . I confirmed my database.yml is pointing to the correct db: development: &postgres_defaults adap

Re: [rspec-users] mongo_mapper validations, rpsec

2011-10-05 Thread Pieter Michels
I seem to have the same problem. DId you guys find out what the problem was? Thanks On Sep 5, 3:11 am, Chris Habgood wrote: > MongoMapper::DocumentNotValid: >        Validation failed: Password can't be blank, Email can't be blank, > Password digest can't be blank > > On Sun, Sep 4, 2011 at 19:0

Re: [rspec-users] mongo_mapper validations, rpsec

2011-10-05 Thread David Chelimsky
On Sep 3, 2011, at 4:17 PM, Chris Habgood wrote: > I have a basic user class and doing rspec validations. When I do a factory > create to produce validations it blows up before I can get to the second line > to check for errors. Ideas how to get this to perform like AR Validations? > > MongoM

[rspec-users] testing a render of a partial in a helper

2011-10-05 Thread nathanvda
I am trying to spec my helpers, and I find a few of my helpers actually render a partial. My code: module PageHelper def settings_menu render :partial => '_shared/settings_menu' end def banner_for(model) banner_message = ... some message ... render :

Re: [rspec-users] mongo_mapper validations, rpsec

2011-10-05 Thread Pieter Michels
Hi I sort of fixed the issue. Let me first describe it some more. My tests kept generating the following failed test: 1) Portfolio require a valid e-mail address Failure/Error: port = Factory :portfolio, :email => email MongoMapper::DocumentNotValid: Validation failed: Email i