var chai = require('chai');
var robotstxt = require('../lib');


describe('Mapper', function() {
  
  it('should request robots.txt', function(done) {
    chai.kerouac.map(robotstxt.createMapper())
      .finish(function() {
        expect(this).to.request([ '/robots.txt' ]);
        done();
      })
      .generate();
  }); // should request robots.txt
  
});

@@ -202,14 +202,13 @@
    .
-finish
+close
 (fun
@@ -269,16 +269,115 @@
 xt' %5D);%0A
+        expect(this.pages%5B'/robots.txt'%5D.locals).to.deep.equal(%7B%0A          sitemaps: %5B%5D%0A        %7D)%0A
         

Add tests.