Bumping to v4.8.18 (#3370)

* make tests great again 

* version bump

* removing empty line in gemspec
This commit is contained in:
Brandon Black
2016-12-07 11:39:49 -08:00
committed by GitHub
parent 3988f3e7a7
commit 2c78dd2c66
5 changed files with 14 additions and 7 deletions

View File

@@ -297,9 +297,9 @@ class TestLanguage < Minitest::Test
end
def test_doesnt_blow_up_with_blank_lookup
assert_equal nil, Language.find_by_alias('')
assert_equal nil, Language.find_by_name(nil)
assert_equal nil, Language[""]
assert_nil Language.find_by_alias('')
assert_nil Language.find_by_name(nil)
assert_nil Language[""]
end
def test_name