Skip to content
Browse files

Fix SwappingRouterSpec; fixture views should `return this;` from rend…

…er().
  • Loading branch information...
1 parent b400783 commit 554ca3aadfca148af7197a6c4555534e331e18b3 @jasonm jasonm committed Sep 28, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 spec/javascripts/swapping_router_spec.js
View
2 spec/javascripts/swapping_router_spec.js
@@ -4,12 +4,14 @@ describe("Support.SwappingRouter", function() {
var redView = Backbone.View.extend({
render: function() {
$(this.el).text("Red!");
+ return this;
}
});
var blueView = Backbone.View.extend({
render: function() {
$(this.el).text("Blue!");
+ return this;
}
});

0 comments on commit 554ca3a

Please sign in to comment.
Something went wrong with that request. Please try again.