Last change
on this file since 517 was
517,
checked in by hendrikvanantwerpen, 11 years ago
|
Deployment and database management now done through Grunt. Look mom, no shell\!
|
File size:
684 bytes
|
Line | |
---|
1 | 'use strict'; |
---|
2 | |
---|
3 | var request = require('request'), |
---|
4 | grunt = require('grunt'); |
---|
5 | |
---|
6 | exports.http = { |
---|
7 | |
---|
8 | 'it can fetch something just using a destination': function (test) { |
---|
9 | test.expect(1); |
---|
10 | test.equal( |
---|
11 | grunt.file.read('tmp/basic.html'), |
---|
12 | grunt.file.read('test/fixtures/basic.html'), |
---|
13 | 'different content to what\'s been downloaded' |
---|
14 | ); |
---|
15 | test.done(); |
---|
16 | }, |
---|
17 | |
---|
18 | 'it should have downloaded compiled code from the closure service': function (test) { |
---|
19 | test.expect(1); |
---|
20 | test.equal( |
---|
21 | grunt.file.read('tmp/compiled.js'), |
---|
22 | grunt.file.read('test/fixtures/compiled.js'), |
---|
23 | 'different content to what\'s been downloaded' |
---|
24 | ); |
---|
25 | test.done(); |
---|
26 | } |
---|
27 | |
---|
28 | }; |
---|
29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.