Skip to content

Commit

Permalink
Fix spelling error
Browse files Browse the repository at this point in the history
It is #freeze, not #frozen
  • Loading branch information
tmaier authored Apr 16, 2017
1 parent ff7a4e6 commit 150de61
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/language_list_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_find_by_iso_639_1_with_empty_string
end

def test_find_by_iso_639_1_with_frozen_string
english = LanguageList::LanguageInfo.find_by_iso_639_1('en'.frozen)
english = LanguageList::LanguageInfo.find_by_iso_639_1('en'.freeze)
assert_equal 'en', english.iso_639_1
assert_equal 'eng', english.iso_639_3
assert_equal 'English', english.name
Expand All @@ -60,7 +60,7 @@ def test_find_by_iso_639_3_with_empty_string
end

def test_find_by_iso_639_3_with_frozen_string
english = LanguageList::LanguageInfo.find_by_iso_639_3('eng'.frozen)
english = LanguageList::LanguageInfo.find_by_iso_639_3('eng'.freeze)
assert_equal 'en', english.iso_639_1
assert_equal 'eng', english.iso_639_3
assert_equal 'English', english.name
Expand All @@ -77,7 +77,7 @@ def test_find_by_name_with_empty_string
end

def test_find_by_name_with_frozen_string
english = LanguageList::LanguageInfo.find_by_name('English'.frozen)
english = LanguageList::LanguageInfo.find_by_name('English'.freeze)
assert_equal 'en', english.iso_639_1
assert_equal 'eng', english.iso_639_3
assert_equal 'eng', english.iso_639_2b
Expand Down Expand Up @@ -112,7 +112,7 @@ def test_find_with_empty_string
end

def test_find_with_frozen_string
english = LanguageList::LanguageInfo.find('EN'.frozen)
english = LanguageList::LanguageInfo.find('EN'.freeze)
assert_equal 'en', english.iso_639_1
assert_equal 'eng', english.iso_639_3
assert_equal 'English', english.name
Expand Down

0 comments on commit 150de61

Please sign in to comment.