Test/Unit / Edits

about 1 month ago

Edited line 1 :

I found Rake::TestTask incompatible with Merb – creating such a task wouldn’t load whole Merb environment, even if it was invoked from a task that had prerequisite :merb_env. The below task should work correctly, remember to add this line to test/test_helper.rb:

I found Rake::TestTask incompatible with Merb – creating such a task wouldn’t load whole Merb environment, even if it was invoked from a task that had prerequisite :merb_env. The below task should work correctly, remember to

test/test_helper.rb

Edited line 17 :

By default, rake tasks are run in a special environment called ‘rake’. You may wish to run the above test task as follows:

 
rake test MERB_ENV=test 

4 months ago

Edited line 5 :

 
 
 

Edited line 8 :

Edited line 12 :

 
 
 

Edited line 21 :

4 months ago

Edited line 1 :

I found Rake::TestTask incompatible with Merb – creating such a task wouldn’t load whole Merb environment, even if it was invoked from a task that had prerequisite :merb_env. The below task should work correctly, remember to

test/test_helper.rb
I found Rake::TestTask incompatible with Merb – creating such a task wouldn’t load whole Merb environment, even if it was invoked from a task that had prerequisite :merb_env. The below task should work correctly, remember to

Edited line 7 :

in test/test_helper.rb

Edited line 8 :

Rakefile

4 months ago