forked from faker-ruby/faker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added SingularSiegler quotes (faker-ruby#1129)
* added my contribution to ReadMe contents section * added md file for docs - singular siegler * added singular_siegler.rb * added quotes file for singular siegler * added test file for singular siegler
- Loading branch information
Showing
5 changed files
with
65 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,5 @@ | ||
# Faker::SingularSiegler | ||
|
||
```ruby | ||
Faker::SingularSiegler.quote #=> "Texas!" | ||
``` |
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 SingularSiegler < Base | ||
class << self | ||
def quotes | ||
fetch('singular_siegler.quotes') | ||
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,37 @@ | ||
en: | ||
faker: | ||
singular_siegler: | ||
quotes: [ | ||
"Texas!", | ||
"Come on now", | ||
"Turd gone wrong", | ||
"I want my 5$ back", | ||
"I tell you what", | ||
"My buddy Harlen", | ||
"Goin' hog huntin'", | ||
"C'mon Naomi", | ||
"Might be DQ time", | ||
"That goddamn Datamate", | ||
"That damn gimble", | ||
"That Barbala couldn't fly his way out of a wet paper bag", | ||
"So I was walking Oscar", | ||
"How 'bout them Cowboys", | ||
"Always the last one to the party", | ||
"Standby", | ||
"No one tells me shit", | ||
"My boss gonna fire me", | ||
"That damn Bill Stull", | ||
"Like a red-headed stepchild", | ||
"Y'all never listen to me", | ||
"It's around here somewhere", | ||
"Reminds me of my old girlfriend Olga Goodntight", | ||
"Let me tell ya", | ||
"I got that scurvy", | ||
"Got depression, Smith and Wessen", | ||
"I'm washing my hands of it", | ||
"Yup", | ||
"Contact the tower", | ||
"That damn diabetes", | ||
"That's messed up", | ||
"I want my damn cart back" | ||
] |
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 TestFakerSingularSiegler < Test::Unit::TestCase | ||
|
||
def setup | ||
@tester = Faker::SingularSiegler | ||
end | ||
|
||
def test_quote | ||
assert @tester.quotes.match(/\w/) | ||
end | ||
|
||
end |