Skip to content

Commit

Permalink
Update scaffold for Backbone todo app changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruz Marzolf committed Sep 15, 2015
1 parent 5f5dabf commit 222720e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scaffold/simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ module.exports = function(){

this.When(/^I enter \"([^\"]*)\"$/, function(value){
new this.Widget({
root: "#new-todo"
root: ".new-todo"
}).sendKeys(value,'\uE007');
});

this.Then(/^I should see \"([^\"]*)\"$/, function(expected){
var List = this.Widget.List.extend({
root: "#todo-list",
root: ".todo-list",
childSelector: "li"
})

Expand Down

0 comments on commit 222720e

Please sign in to comment.