Forked from joevandyk/business_search_helpers_test.rb
Created
November 4, 2009 21:10
-
-
Save jbarnette/226382 to your computer and use it in GitHub Desktop.
This file contains 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 "test_helper" | |
require "action_view/test_case" | |
class TestBusinessSearchHelpers < ActionView::TestCase | |
include BusinessSearchHelper | |
def test_format_address | |
{ | |
"Foo Goo 123" => "Foo Goo 123", | |
"Blah Ste 345" => "Blah Ste 345", | |
# et cetera | |
}.each do |input, expected| | |
assert_equal expected, format_address(input) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment