I am trying to get my hands on Rspec2 with Rails3 (never used rspec before). I have rspec-rails 2.0.0.beta20. After introducing some basic tests into spec/models and running
rspec spec/models/user_spec.rb
everthing is fine. However if I just run
rake spec
My development database is beeing wiped out. Even if I specify the environment explicitly
RAILS_ENV=test rake spec
My development database is beeing wiped to zero.
What I am doing wrong here? It feels like I am missing the concept for now. Anyone got any tips or could point me to some basic tutorial?