rake test:units --> undefined method `context' for ...

Added by Thomas Kohler about 7 years ago

I want to run the unit tests of redmine but get the error:

/var/lib/redmine/test/unit/initializers/patches_test.rb:23: undefined method `context' for PatchesTest:Class (NoMethodError)

I has looked for some wiki for setup the testing environment but nothing found. The link "http://www.redmine.org/projects/redmine/repository/entry/trunk/doc/RUNNING_TESTS" also not help so much.

I'm using redmine-1.4.3 on a gentoo linux system (ruby18).

Can anyone help me and/or start a wiki of this topic?