Permalink
Browse files

Only testing with 0.6 now

  • Loading branch information...
1 parent e01382c commit 36658f0dcdab6bc9aa897d84d026027113c30722 @kenrick kenrick committed Apr 7, 2012
Showing with 12 additions and 13 deletions.
  1. +0 −1 .travis.yml
  2. +12 −12 test/blog_test.js
View
@@ -1,6 +1,5 @@
language: node_js
node_js:
- - 0.4
- 0.6
notifications:
email:
View
@@ -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) {

0 comments on commit 36658f0

Please sign in to comment.