Topic: Unit Testing without db:migrate
I have started developing a rails app (v3.0.7 on jruby-1.6.2) using PostgreSQL. For various reasons I have built the database via SQL DDL scripts rather than using rake db:migrate.
When I try to use rake test:units I get an error message saying I have pending migrations. I tlooks lke rspec-rails also requires migrations.
Is there any way to make it appear that the migrations have been done?
I've tried using rspec-rails and that seems to work without running migrations, so I'll probably go down that route.
Last edited by Pippinjack (2011-06-12 13:32:34)