Re: [rspec-users] Problem running RSpec tests with Rails

2010-07-27 Thread Bruno Cardoso
David Chelimsky wrote: > On Jul 27, 2010, at 4:10 AM, Bruno Cardoso wrote: > >>> have pending migrations, but still have it reset the test database so >>> it's schema looks like the development database schema? >> >> Exactly. > > OK. This is not Rails' intent (which is why > 'db:abort_if_pendi

Re: [rspec-users] Problem running RSpec tests with Rails

2010-07-27 Thread David Chelimsky
On Jul 27, 2010, at 4:10 AM, Bruno Cardoso wrote: > David Chelimsky wrote: >> On Jul 26, 2010, at 12:36 PM, Bruno Cardoso wrote: >> >>> Thanks for the answers. >>> >>> What both solutions (from Ashley and David) do is not modify the BD in >>> anyway, so nothing gets dropped and nothing is creat

Re: [rspec-users] Problem running RSpec tests with Rails

2010-07-27 Thread Bruno Cardoso
David Chelimsky wrote: > On Jul 26, 2010, at 12:36 PM, Bruno Cardoso wrote: > >> Thanks for the answers. >> >> What both solutions (from Ashley and David) do is not modify the BD in >> anyway, so nothing gets dropped and nothing is created. This resolves >> the problem but what if I want a clea

Re: [rspec-users] Problem running RSpec tests with Rails

2010-07-26 Thread David Chelimsky
On Jul 26, 2010, at 12:36 PM, Bruno Cardoso wrote: > Thanks for the answers. > > What both solutions (from Ashley and David) do is not modify the BD in > anyway, so nothing gets dropped and nothing is created. This resolves > the problem but what if I want a clean installation in each test run?

Re: [rspec-users] Problem running RSpec tests with Rails

2010-07-26 Thread Ashley Moran
On 26 Jul 2010, at 6:36 PM, Bruno Cardoso wrote: > What both solutions (from Ashley and David) do is not modify the BD in > anyway, so nothing gets dropped and nothing is created. This resolves > the problem but what if I want a clean installation in each test run? Is > there a way to keep my

Re: [rspec-users] Problem running RSpec tests with Rails

2010-07-26 Thread Bruno Cardoso
Bruno Cardoso wrote: > Thanks for the answers. > > What both solutions (from Ashley and David) do is not modify the BD in > anyway, so nothing gets dropped and nothing is created. This resolves > the problem but what if I want a clean installation in each test run? Is > there a way to keep my "

Re: [rspec-users] Problem running RSpec tests with Rails

2010-07-26 Thread Bruno Cardoso
Thanks for the answers. What both solutions (from Ashley and David) do is not modify the BD in anyway, so nothing gets dropped and nothing is created. This resolves the problem but what if I want a clean installation in each test run? Is there a way to keep my "schema_migrations" table or remov

Re: [rspec-users] Problem running RSpec tests with Rails

2010-07-26 Thread David Chelimsky
On Jul 26, 2010, at 11:50 AM, Ashley Moran wrote: > > On Jul 26, 2010, at 5:12 pm, Bruno Cardoso wrote: > >> Not sure if this is a RSpec problem or Rails but I believe is more a >> RSpec situation. >> >> What happens is that when I run my RSpecs tests all the BD is recreated, >> >> ... >> >>

Re: [rspec-users] Problem running RSpec tests with Rails

2010-07-26 Thread David Chelimsky
On Jul 26, 2010, at 11:12 AM, Bruno Cardoso wrote: > Hi > > Not sure if this is a RSpec problem or Rails but I believe is more a > RSpec situation. > > What happens is that when I run my RSpecs tests all the BD is recreated, > including the "schema_migration" table, because of this I get a probl

Re: [rspec-users] Problem running RSpec tests with Rails

2010-07-26 Thread Ashley Moran
On Jul 26, 2010, at 5:12 pm, Bruno Cardoso wrote: > Not sure if this is a RSpec problem or Rails but I believe is more a > RSpec situation. > > What happens is that when I run my RSpecs tests all the BD is recreated, > > ... > > Anyone know how to resolve this? Hi Bruno Are you running `rake

[rspec-users] Problem running RSpec tests with Rails

2010-07-26 Thread Bruno Cardoso
Hi Not sure if this is a RSpec problem or Rails but I believe is more a RSpec situation. What happens is that when I run my RSpecs tests all the BD is recreated, including the "schema_migration" table, because of this I get a problem saying: You have 29 pending migrations: 20100628100855 Creat