Skip to content

Commit

Permalink
Adding tests and fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
ekryski committed Aug 5, 2015
1 parent 8c4f991 commit ac56d92
Show file tree
Hide file tree
Showing 2 changed files with 528 additions and 32 deletions.
27 changes: 27 additions & 0 deletions test/fixtures.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
module.exports = {
singlePost: {
title: 'First Post',
author: 'Alice'
},
multiplePosts: [
{
title: 'Second Post',
author: 'Bob'
},
{
title: 'Third and Final Post',
author: 'Doug'
}
],
invalidPost: [
{
title: 'Invalid Post'
}
],
comments: [
{
content: 'First comment',
commenter: 'Anonymous'
}
]
};
Loading

0 comments on commit ac56d92

Please sign in to comment.