Skip to content

Commit

Permalink
changed the spec for data bind subst to set html to  
Browse files Browse the repository at this point in the history
  • Loading branch information
Derick Bailey committed Aug 20, 2011
1 parent 92d495d commit 6b343fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/javascripts/dataBindSubstitutions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe("configured data-bind substitutions", function(){
beforeEach(function(){
Backbone.ModelBinding.Configuration.dataBindSubst({
text: "text subst",
html: "html subst"
html: " "
});
this.model = new AModel({
doctor: "Seuss"
Expand Down Expand Up @@ -66,7 +66,7 @@ describe("configured data-bind substitutions", function(){
});

it("should set the html to an empty string", function(){
expect(this.el.html()).toBe("html subst");
expect(this.el.html()).toBe(" ");
});
});

Expand Down

0 comments on commit 6b343fb

Please sign in to comment.