Skip to content

Commit

Permalink
Removed test for all blogs
Browse files Browse the repository at this point in the history
  • Loading branch information
kenrick committed Apr 7, 2012
1 parent 70a95db commit e01382c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions test/blog_test.js
Expand Up @@ -4,11 +4,11 @@ helper.setObject("blog");
var Resource = helper.resource();


helper.nock(helper.test_shop)
.get('/admin/blogs.json')
.reply(200, helper.load("blogs"), { server: 'nginx',
status: '200 OK',
});
// helper.nock(helper.test_shop)
// .get('/admin/blogs.json')
// .reply(200, helper.load("blogs"), { server: 'nginx',
// status: '200 OK',
// });


helper.nock(helper.test_shop)
Expand Down Expand Up @@ -40,14 +40,14 @@ describe('Blog', function() {
var site = "https://api_key:pass@test.myshopify.com/admin";
var resource = new Resource(site);

it('should get all blogs', function(done) {
resource.all(function(err, res){
res.should.not.be.empty;
res[0].should.have.property('id');
done();
});
// it('should get all blogs', function(done) {
// resource.all(function(err, res){
// res.should.not.be.empty;
// res[0].should.have.property('id');
// done();
// });

});
// });


it('should get blog', function(done) {
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/blog/blogs.json
@@ -1,5 +1,5 @@
{
"blogs": [
"blogs": [
{
"commentable": "no",
"created_at": "2012-04-05T11:28:43-04:00",
Expand Down

0 comments on commit e01382c

Please sign in to comment.