Skip to content

Commit

Permalink
test: Add missing test and sort word (#1526)
Browse files Browse the repository at this point in the history
  • Loading branch information
yizknn authored and vbrazo committed Feb 7, 2019
1 parent 0a3ac60 commit 30ea6ff
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions test/test_ja_locale.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def test_ja_cat_methods
assert Faker::Cat.breed.is_a? String
end

def test_ja_dog_methods
assert Faker::Dog.breed.is_a? String
def test_ja_color_methods
assert Faker::Color.name.is_a? String
end

def test_ja_company_methods
Expand All @@ -35,6 +35,10 @@ def test_ja_company_methods
assert Faker::Company.name.is_a? String
end

def test_ja_dog_methods
assert Faker::Dog.breed.is_a? String
end

def test_ja_food_methods
assert Faker::Food.sushi.is_a? String
end
Expand Down Expand Up @@ -71,14 +75,14 @@ def test_ja_zelda_methods
assert Faker::Games::Zelda.game.is_a? String
end

def test_ja_space_methods
assert Faker::Space.planet.is_a? String
assert Faker::Space.galaxy.is_a? String
end

def test_ja_university_methods
assert Faker::University.prefix.is_a? String
assert Faker::University.suffix.is_a? String
assert Faker::University.name.is_a? String
end

def test_ja_space_methods
assert Faker::Space.planet.is_a? String
assert Faker::Space.galaxy.is_a? String
end
end

0 comments on commit 30ea6ff

Please sign in to comment.