Skip to content

Commit

Permalink
update to work with latest component syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
pemrouz committed Dec 29, 2015
1 parent adc4e61 commit f660cb5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('HTML Templates', function(){

ripple('foo.html', '<li>Hi!</li>')
ripple('html-2', function(){ result = true })
ripple.draw()
ripple.render(el)

expect(result).to.be.ok
expect(el.innerHTML).to.equal('<li>Hi!</li>')
Expand Down Expand Up @@ -60,7 +60,7 @@ describe('HTML Templates', function(){
, result

ripple('html-1', function(){ result = true })
ripple.draw()
ripple.render(container.children[0])

expect(result).to.be.ok
})
Expand All @@ -70,7 +70,7 @@ describe('HTML Templates', function(){
, result

ripple('html-2', function(){ result = true })
ripple.draw()
ripple.render(el)

expect(result).to.not.be.ok
})
Expand Down

0 comments on commit f660cb5

Please sign in to comment.