mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-15 11:48:07 +01:00
migrate feedlist, user password, loggin in, manage users, mobile_* and notes manage
This commit is contained in:
parent
d8b5c7d0d2
commit
d528a87cee
10 changed files with 88 additions and 63 deletions
|
|
@ -94,14 +94,14 @@ Then /^I should see "([^\"]*)" within the dependencies of "([^\"]*)"$/ do |succe
|
|||
todo = @current_user.todos.find_by_description(todo_description)
|
||||
todo.should_not be_nil
|
||||
|
||||
Then "I should see \"#{successor_description}\" within \"div#line_todo_#{todo.id}\""
|
||||
step "I should see \"#{successor_description}\" within \"div#line_todo_#{todo.id}\""
|
||||
end
|
||||
|
||||
Then /^I should not see "([^"]*)" within the dependencies of "([^"]*)"$/ do |successor_description, todo_description|
|
||||
todo = @current_user.todos.find_by_description(todo_description)
|
||||
todo.should_not be_nil
|
||||
|
||||
Then "I should not see \"#{successor_description}\" within \"div#line_todo_#{todo.id}\""
|
||||
step "I should not see \"#{successor_description}\" within \"div#line_todo_#{todo.id}\""
|
||||
end
|
||||
|
||||
Then /^I should see that "([^"]*)" does not have dependencies$/ do |todo_description|
|
||||
|
|
@ -109,5 +109,4 @@ Then /^I should see that "([^"]*)" does not have dependencies$/ do |todo_descrip
|
|||
todo.should_not be_nil
|
||||
dependencies_icon = "//div[@id='line_todo_#{todo.id}']/div/a[@class='show_successors']/img"
|
||||
page.should_not have_xpath(dependencies_icon)
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue