spec.plugins.view.js
This file
Path
spec/spec.plugins.view.js
15 lines · 243 bytes · JavaScript
Last changed by
View is now a plugin [#87]visionmediabefore adoption8e408e3
History of this fileFast, unopinionated, minimalist web framework for Node.js.
0 open asksLanded Decided by oscabriel
spec/spec.plugins.view.js
15 lines · 243 bytes · JavaScript
View is now a plugin [#87] · visionmedia · before adoption · 8e408e3 ·
History of this file15 lines · 243 bytes · JavaScript
View is now a plugin [#87] · visionmedia · before adoption · 8e408e3 ·
lines 1–15why, one step back12describe 'Express'3 before_each4 reset()5 end6 7 describe 'View'8 describe 'set("views")'9 it 'should default to <root>/views'10 set('root', 'spec')11 set('views').should.eql 'spec/views'12 end13 end14 end15end