Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix inconsistent capitalization in dishes, ingredients and spices, and some other small issues under 'food' #1103

Merged
merged 3 commits into from
Jun 11, 2018
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions doc/food.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

Faker::Food.dish #=> "Caesar Salad"

Faker::Food.description #=> "Three eggs with cilantro, tomatoes, onions, avocados and melted Emmental cheese. With a side of roasted potatoes, and your choice of toast or croissant."

Faker::Food.ingredient #=> "Sweet Potato"

Faker::Food.spice #=> "Caraway Seed"
Expand Down
4 changes: 4 additions & 0 deletions lib/faker/food.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ def dish
fetch('food.dish')
end

def description
fetch('food.descriptions')
end

def ingredient
fetch('food.ingredients')
end
Expand Down
Loading