spec/javascripts/jax/mvc/route_set_spec.js in jax-2.0.6 vs spec/javascripts/jax/mvc/route_set_spec.js in jax-2.0.7
- old
+ new
@@ -1,10 +1,13 @@
describe("Jax.RouteSet", function() {
var map;
var controller_class = Jax.Controller.create({index: function() { }});
Jax.views.push("generic/index", function() { });
- beforeEach(function() { map = Jax.routes; map.clear(); });
+ beforeEach(function() {
+ map = Jax.routes;
+ map.clear();
+ });
describe("when a CamelCase controller name is given", function() {
beforeEach(function() {
controller_class = Jax.Controller.create("TestBreaker", {index: function() { }});
});