Permalink
Browse files

better include test

  • Loading branch information...
1 parent 0d0a5b0 commit 14f326a91308684602c99673ecebc7c1e02d22df @tj committed Mar 21, 2012
Showing with 3 additions and 4 deletions.
  1. +1 −0 test/fixtures/config/roles.json
  2. +1 −2 test/fixtures/include.json
  3. +1 −2 test/include.js
View
1 test/fixtures/config/roles.json
@@ -0,0 +1 @@
+["admin", "guest"]
View
3 test/fixtures/include.json
@@ -1,4 +1,3 @@
["foo",
"include: config",
- "bar",
- "include: config"]
+ "include: ./config/roles"]
View
3 test/include.js
@@ -10,8 +10,7 @@ describe('include', function(){
.should.eql([
"foo",
{ foo: 'bar', bar: 'baz' },
- "bar",
- { foo: 'bar', bar: 'baz' }
+ ["admin", "guest"]
]);
})
})

0 comments on commit 14f326a

Please sign in to comment.