forked from hotsh/rstat.us
-
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.
Merge pull request hotsh#715 from carols10cents/cleanup
Cleanup
- Loading branch information
Showing
13 changed files
with
93 additions
and
85 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
Empty file.
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
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
Empty file.
Empty file.
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
Fabricator(:author) do | ||
feed { |author| Fabricate(:feed, :author => author) } | ||
username "user" | ||
email { sequence(:email) { |i| "user_#{i}@example.com" } } | ||
website "http://example.com" | ||
domain "http://foo.example.com" | ||
name "Something" | ||
bio "Hi, I do stuff." | ||
username "user" | ||
email { sequence(:email) { |i| "user_#{i}@example.com" } } | ||
website "http://example.com" | ||
domain "http://foo.example.com" | ||
name "Something" | ||
bio "Hi, I do stuff." | ||
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Fabricator(:authorization) do | ||
uid { sequence(:uid) { |i| i } } | ||
nickname "god" | ||
provider "twitter" | ||
oauth_token "abcd" | ||
oauth_secret "efgh" | ||
uid { sequence(:uid) { |i| i } } | ||
nickname "god" | ||
provider "twitter" | ||
oauth_token "abcd" | ||
oauth_secret "efgh" | ||
user | ||
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Fabricator(:update) do | ||
text { sequence(:text) { |i| "This is update #{i}" } } | ||
text { sequence(:text) { |i| "This is update #{i}" } } | ||
twitter false | ||
author | ||
feed { |update| Fabricate(:feed, :author => update.author) } | ||
feed { |update| Fabricate(:feed, :author => update.author) } | ||
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Fabricator(:user) do | ||
username { sequence(:username) { |i| "user_#{i}" } } | ||
email { sequence(:email) { |i| "user_#{i}@example.com" } } | ||
author { |a| Fabricate(:author, :username => a.username, :created_at => a.created_at, :email => a.email) } | ||
username { sequence(:username) { |i| "user_#{i}" } } | ||
email { sequence(:email) { |i| "user_#{i}@example.com" } } | ||
author { |user| Fabricate(:author, :username => user.username, :created_at => user.created_at, :email => user.email) } | ||
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