Permalink
Browse files

Removed test for all blogs

  • Loading branch information...
1 parent 70a95db commit e01382c0d80d6257595c3dd81e104d39f52b0cf1 @kenrick kenrick committed Apr 7, 2012
Showing with 13 additions and 13 deletions.
  1. +12 −12 test/blog_test.js
  2. +1 −1 test/fixtures/blog/blogs.json
View
24 test/blog_test.js
@@ -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)
@@ -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) {
View
2 test/fixtures/blog/blogs.json
@@ -1,5 +1,5 @@
{
- "blogs": [
+ "blogs": [
{
"commentable": "no",
"created_at": "2012-04-05T11:28:43-04:00",

0 comments on commit e01382c

Please sign in to comment.