Created
October 6, 2008 20:52
-
-
Save technicalpickles/15142 to your computer and use it in GitHub Desktop.
url_for fix for ActionView::TestCase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'action_view/test_case' | |
class ActionView::TestCase | |
include ActionController::UrlWriter | |
default_url_options[:host] = 'localhost' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment