Changeset 290

Show
Ignore:
Timestamp:
03/01/06 09:30:49 (3 years ago)
Author:
lazyatom
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • applications/engines_test/test/functional/application_overloading_engine_module_controllers_test.rb

    r262 r290  
    3333    get :backdraft 
    3434    assert_response :success 
    35     assert_equal "Fire!", assigns['quote'] # NOT 'I want my mommy.' 
     35    assert_equal "Fire!", assigns(:quote) # NOT 'I want my mommy.' 
    3636  end 
    3737   
  • applications/engines_test/test/functional/engine_controllers_test.rb

    r262 r290  
    4444    get :godfather 
    4545    assert_response :success 
    46     assert_not_nil assigns['quote'] 
    47     assert_equal "My father made him an offer he couldn't refuse.", assigns['quote'] 
     46    assert_not_nil assigns(:quote) 
     47    assert_equal "My father made him an offer he couldn't refuse.", assigns(:quote) 
    4848  end 
    4949   
  • applications/engines_test/test/functional/engine_module_controllers_test.rb

    r289 r290  
    3232    } 
    3333    assert_response :success 
    34     assert_not_nil assigns['quote'] 
     34    assert_not_nil assigns(:quote) 
    3535    assert_equal "I think my exact comment was that if Bush won it would be a good time to leave the United States. I'm not necessarily going to leave the United States.", assigns['quote'] 
    3636  end 
     
    5050    } 
    5151    assert_response :success 
    52     assert_not_nil assigns['quote'] 
    53     assert_equal "Down periscope!", assigns['quote'] 
     52    assert_not_nil assigns(:quote) 
     53    assert_equal "Down periscope!", assigns(:quote) 
    5454  end 
    5555