fix failing cucumber scenario's and update gems

This commit is contained in:
Reinier Balt 2013-09-18 10:38:20 +02:00
parent 5164c404db
commit bbf6cdf702
8 changed files with 32 additions and 24 deletions

View file

@ -12,17 +12,16 @@ Feature: Edit a context
And I have a project called "test project"
And I have 2 todos in project "test project" in context "@pc" with tags "starred" prefixed by "test_project "
@javascript
@javascript
Scenario: In place edit of context name
Given I have a context called "Errands"
When I go to the context page for "Errands"
When I go to the context page for "@pc"
And I edit the context name in place to be "OutAndAbout"
Then I should see the context name is "OutAndAbout"
When I go to the contexts page
Then I should see that a context named "Errands" is not present
And I should see that a context named "OutAndAbout" is present
@javascript
@javascript
Scenario: Editing the context of a todo will remove the todo
When I go to the the context page for "@pc"
Then the badge should show 2
@ -37,7 +36,7 @@ Feature: Edit a context
Then I should not see the todo "test_project todo 1"
And I should see "changed"
@javascript
@javascript
Scenario: Editing the context of the last todo will remove the todo and show empty message
When I go to the the context page for "@pc"
And I edit the context of "test_project todo 1" to "@laptop"