64 before_each65 set('views', 'spec/fixtures')66 end6768+ describe 'given a callback'69+ it 'should be passed the rendered content'70+ get('/', function(){71+ this.render('hello.haml.html', {}, function(err, content){72+ if (err) this.error(err)73+ else this.halt(203, content)74+ })75+ })76+ get('/').body.should.include '<html><body>'77+ get('/').status.should.eql 20378+ end79+ end80+81 describe 'given a valid view name'82 describe 'and layout of the same type exists'83 it 'should render the layout and view'84 get('/', function(){