forked from TryGhost/Ghost
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refs TryGhost#5604 - `filter` is missing from tags & users - add it in and add tests which show it works
- Loading branch information
Showing
4 changed files
with
99 additions
and
7 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
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 |
---|---|---|
|
@@ -14,22 +14,33 @@ data.tags = [ | |
{ | ||
name: 'photo', | ||
slug: 'photo', | ||
image: 'some/image/path.jpg', | ||
description: 'Photo posts', | ||
created_by: 2 | ||
}, | ||
{ | ||
name: 'Video', | ||
slug: 'video', | ||
image: 'some/image/path.jpg', | ||
description: 'Video posts', | ||
created_by: 1 | ||
}, | ||
{ | ||
name: 'Audio', | ||
slug: 'audio', | ||
image: 'some/image/path.jpg', | ||
description: 'Audio posts', | ||
created_by: 1 | ||
}, | ||
{ | ||
name: 'No Posts', | ||
slug: 'no-posts', | ||
created_by: 2 | ||
}, | ||
{ | ||
name: 'Special', | ||
slug: 'special', | ||
created_by: 2 | ||
} | ||
]; | ||
|
||
|
@@ -39,12 +50,20 @@ data.users = [ | |
name: 'Leslie Jones', | ||
slug: 'leslie', | ||
email: '[email protected]', | ||
password: '$2a$10$.pZeeBE0gHXd0PTnbT/ph.GEKgd0Wd3q2pWna3ynTGBkPKnGIKZL6' | ||
password: '$2a$10$.pZeeBE0gHXd0PTnbT/ph.GEKgd0Wd3q2pWna3ynTGBkPKnGIKZL6', | ||
website: 'http://twitter.com/ljonestestuser' | ||
}, | ||
{ | ||
name: 'Pat Smith', | ||
slug: 'pat-smith', | ||
email: '[email protected]', | ||
password: '$2a$10$.pZeeBE0gHXd0PTnbT/ph.GEKgd0Wd3q2pWna3ynTGBkPKnGIKZL6', | ||
website: 'http://github.com/patsmithtestuser' | ||
}, | ||
{ | ||
name: 'Cameron Howe', | ||
slug: 'camhowe', | ||
email: '[email protected]', | ||
password: '$2a$10$.pZeeBE0gHXd0PTnbT/ph.GEKgd0Wd3q2pWna3ynTGBkPKnGIKZL6' | ||
} | ||
]; | ||
|
@@ -64,7 +83,7 @@ data.posts = [ | |
markdown: 'Hello World!', | ||
featured: false, | ||
author_id: 2, | ||
tags: [2, 3, 4] | ||
tags: [2, 3, 4, 6] | ||
}, | ||
{ | ||
title: 'Third Post', | ||
|
@@ -88,7 +107,7 @@ data.posts = [ | |
markdown: 'Hello World!', | ||
featured: true, | ||
author_id: 2, | ||
tags: [] | ||
tags: [6] | ||
}, | ||
{ | ||
title: 'Sixth Post', | ||
|
@@ -97,7 +116,7 @@ data.posts = [ | |
featured: false, | ||
author_id: 2, | ||
image: 'some/image/path.jpg', | ||
tags: [1, 4] | ||
tags: [1, 4, 6] | ||
}, | ||
{ | ||
title: 'Seventh Post', | ||
|