replaced test with rspec-rails