fix failing calendar scenarios

This commit is contained in:
Reinier Balt 2013-04-16 10:20:44 +02:00
parent 78a7bfe8e4
commit 5f8f2eefa9
8 changed files with 44 additions and 74 deletions

View file

@ -72,7 +72,7 @@ Feature: Edit a context
When I submit a new action with description "todo X" to project "test project" in the context "@personal"
Then I should see the todo "todo X"
@javascript
@javascript
Scenario: Moving the todo to the tickler will move todo to tickler container and update empty messages
Given I have a context "test" with 1 todos
When I go to the "test" context

View file

@ -23,7 +23,7 @@ Feature: dependencies
When I expand the dependencies of "todo 2"
Then I should see "todo 3" within the dependencies of "todo 2"
@javascript
@javascript
Scenario: I can edit a todo to add the todo as a dependency to another
Given I have a context called "@pc"
And I have a project "dependencies" that has the following todos

View file

@ -132,7 +132,7 @@ Feature: Edit a project
And I should see empty message for completed todos of project
And I should see empty message for todos of project
@javascript
@javascript
Scenario: Moving the todo out of the tickler will move todo to active container and update empty messages
Given I have a project "test" with 1 deferred todos
When I go to the "test" project

View file

@ -153,7 +153,7 @@ Then /^I should see "([^"]*)" in the due next month container$/ do |todo_descrip
todo = @current_user.todos.where(:description => todo_description).first
todo.should_not be_nil
within "div#due_after_this_month" do
within "div#due_after_this_month_container" do
page.should have_css("div#line_todo_#{todo.id}")
end
end