Rails3 rake doesn't run my tests

In the new R3 application, I seem to be unable to run any tests (there are 2, a canonical functional test for "/" and another unit test that I created)

See this output:

rails_app$ rake test --trace (in /Users/jan/portfolio/rails_app) ** Invoke test (first_time, not_needed) rails_app$ 

What could be wrong? What is the meaning of first_time, not_needed '? t may be related to the fact that I'm using Mongoid ...

+1
source share
1 answer

When I followed the installation instructions for Mongoid, I replaced

 require 'rails/all' 

with

 require "action_controller/railtie" require "action_mailer/railtie" require "active_resource/railtie" 

after learning (and pasting)

 require "rails/test_unit/railtie" 
Tests

started to gather

+2
source

All Articles