Commit 75102438a0ff6dfd7a7e43faa8565c79b67612b9
mv app/todos/features/new.feature features/todos
Michael Williams committed on 1/9/2016, 10:27:43 AMParent: 96cd501395a5a7184948ba07a7ea02a05ae9f23a
Files changed
app/todos/features/new.feature | deleted |
features/todos/new.feature | added |
app/todos/features/new.feature | ||
---|---|---|
@@ -1,22 +1,0 @@ | ||
1 | -Feature: New Todo | |
2 | - | |
3 | - Background: | |
4 | - Given I visit TODOMVC | |
5 | - And I make sure that there are no todos | |
6 | - | |
7 | - Scenario: Pressing enter creates the todo | |
8 | - When I enter a new todo | |
9 | - Then it should be appended to the todo list | |
10 | - | |
11 | - Scenario: Pressing enter clears the input | |
12 | - When I enter a new todo | |
13 | - Then the input should be cleared | |
14 | - | |
15 | - Scenario: The input should be trimmed | |
16 | - When I enter a new todo with extra spaces | |
17 | - Then the input should be trimmed | |
18 | - | |
19 | - Scenario: An empty todo should not be added | |
20 | - When I enter a new todo | |
21 | - And I enter a new todo that is empty | |
22 | - Then it should not add it to the list |
features/todos/new.feature | ||
---|---|---|
@@ -1,0 +1,22 @@ | ||
1 | +Feature: New Todo | |
2 | + | |
3 | + Background: | |
4 | + Given I visit TODOMVC | |
5 | + And I make sure that there are no todos | |
6 | + | |
7 | + Scenario: Pressing enter creates the todo | |
8 | + When I enter a new todo | |
9 | + Then it should be appended to the todo list | |
10 | + | |
11 | + Scenario: Pressing enter clears the input | |
12 | + When I enter a new todo | |
13 | + Then the input should be cleared | |
14 | + | |
15 | + Scenario: The input should be trimmed | |
16 | + When I enter a new todo with extra spaces | |
17 | + Then the input should be trimmed | |
18 | + | |
19 | + Scenario: An empty todo should not be added | |
20 | + When I enter a new todo | |
21 | + And I enter a new todo that is empty | |
22 | + Then it should not add it to the list |
Built with git-ssb-web