PageRenderTime 34ms CodeModel.GetById 9ms RepoModel.GetById 0ms app.codeStats 0ms

/test/functional/search_controller_test.rb

https://github.com/ischroedi/petracommunity
Ruby | 18 lines | 13 code | 3 blank | 2 comment | 0 complexity | 5b60dfee6e03297d122b9531485fe9da MD5 | raw file
  1. require File.dirname(__FILE__) + '/../test_helper'
  2. require 'search_controller'
  3. # Re-raise errors caught by the controller.
  4. class SearchController; def rescue_action(e) raise e end; end
  5. class SearchControllerTest < Test::Unit::TestCase
  6. def setup
  7. @controller = SearchController.new
  8. @request = ActionController::TestRequest.new
  9. @response = ActionController::TestResponse.new
  10. end
  11. # Replace this with your real tests.
  12. def test_truth
  13. assert true
  14. end
  15. end