# Rspec\_on\_rails oddity

**URL:** <https://www.ruby-forum.com/t/rspec-on-rails-oddity/105806>\
**Category:** Rails\
**Created:** [June 3, 2007, 5:31am UTC](https://www.ruby-forum.com/t/rspec-on-rails-oddity/105806 "2007-06-03T05:31:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![flatekmonkey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/e8c25b/32.png) [@flatekmonkey](https://www.ruby-forum.com/u/flatekmonkey)\
**Post date:** [June 3, 2007, 5:31am UTC](https://www.ruby-forum.com/t/rspec-on-rails-oddity/105806/1 "2007-06-03T05:31:10Z")

</div>

Thanks to everyone in advance that can help me here. I am using the  
rspec and rspec\_on\_rails plugins ([http://rspec.rubyforge.org/](http://rspec.rubyforge.org/)  
documentation/rails/index.html) and have my tests in spec folder. The  
odd thing is is that when I run rake spec:models, the fixture data is  
loaded into the development, and not the test database, even though I  
have ENV[“RAILS\_ENV”] ||= “test” in spec\_helper.rb.

I appreciate the help getting the fixtures loaded into the correct  
database.

Robert D.

---

<div class="post-metadata">

**Author:** ![flatekmonkey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/e8c25b/32.png) [@flatekmonkey](https://www.ruby-forum.com/u/flatekmonkey)\
**Post date:** [June 3, 2007, 5:37am UTC](https://www.ruby-forum.com/t/rspec-on-rails-oddity/105806/2 "2007-06-03T05:37:11Z")

</div>

Der. Figured it out - need to pay more attention to my Ruby 🙂
