/test/functional/preferences_controller_test.rb

https://github.com/ischroedi/petracommunity · Ruby · 18 lines · 13 code · 3 blank · 2 comment · 0 complexity · 52c8322116bbc08d24e9eff91d8afe6a MD5 · raw file

  1. require File.dirname(__FILE__) + '/../test_helper'
  2. require 'preferences_controller'
  3. # Re-raise errors caught by the controller.
  4. class PreferencesController; def rescue_action(e) raise e end; end
  5. class PreferencesControllerTest < Test::Unit::TestCase
  6. def setup
  7. @controller = PreferencesController.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