Changeset 268

Show
Ignore:
Timestamp:
12/11/07 03:28:59 (8 months ago)
Author:
gethema..@gmail.com
Message:

updated README file

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/README

    r265 r268  
    317317    ./script/backgroundrb # don't use start argument, if you have :log: foreground set 
    318318 
     319=== Testing 
     320* where will you be without test cases Phaedrus? New version comes with a baked in mechanism to write test cases. 
     321  First make sure that, you have bdrb_test_helper.rb in test directory of your rails app ( run 
     322  rake backgroundrb:setup, if you dont have one ). 
     323  Just put your worker test cases in test/unit directory of your rails application and require the helper. 
     324  Now, you should be good to go. 
     325 
     326   require File.join(File.dirname(__FILE__) + "/../bdrb_test_helper") 
     327   require "god_worker" 
     328 
     329   context "When god worker starts" do 
     330     setup do 
     331       god_worker = GodWorker.new 
     332     end 
     333   end 
     334 
     335 
     336 
    319337=== Legacy and deprecated stuff 
    320338