-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Faker::AquaTeenHungerForce (#1037)
- Loading branch information
Showing
5 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Faker::AquaTeenHungerForce | ||
|
||
```ruby | ||
Faker::AquaTeenHungerForce.character #=> "Master Shake" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module Faker | ||
class AquaTeenHungerForce < Base | ||
class << self | ||
def character | ||
fetch('aqua_teen_hunger_force.character') | ||
end | ||
end | ||
end | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
en: | ||
faker: | ||
aqua_teen_hunger_force: | ||
character: ["Carl Brutananadilewski", "Cybernetic Ghost of Christmas Past from the Future", "D.P", "Dr. Weird", "Dr. Wongburger", "Emory", "Err", "Frylock", "George Lowe", "Ignignokt", "Master Shake", "MC Pee Pants", "Meatwad", "Oglethorpe", "Skeeter", "Steve", "Turkatron"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') | ||
|
||
class TestFakerAquaTeenHungerForce < Test::Unit::TestCase | ||
|
||
def setup | ||
@tester = Faker::AquaTeenHungerForce | ||
end | ||
|
||
def test_character | ||
assert @tester.character.match(/\w/) | ||
end | ||
|
||
end |