Changeset 1132

Show
Ignore:
Timestamp:
12/25/07 02:15:37 (1 year ago)
Author:
coda.ha..@gmail.com
Message:

Fixed a silent exception in the MerbHandler? specs due to a lack of return value on a mocked method.

Closes #376. (Probably.)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/spec/merb/handler_spec.rb

    r684 r1132  
    6767   
    6868  it "should ask the Dispatcher for the controller and action" do 
    69     Merb::Dispatcher.should_receive( :handle ).with( @request, @response ) 
     69    Merb::Dispatcher.should_receive( :handle ).with( @request, @response ).and_return( [@controller, @action] ) 
    7070    do_process 
    7171  end