mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
swap expected/actual
This commit is contained in:
parent
e5294f070f
commit
ff27f769e9
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ end
|
|||
|
||||
Then /^the project field of the new todo form should contain "([^"]*)"$/ do |project_name|
|
||||
xpath= "//form[@id='todo-form-new-action']/input[@id='todo_project_name']"
|
||||
expect(project_name).to eq(page.find(:xpath, xpath).value)
|
||||
expect(page.find(:xpath, xpath).value).to eq(project_name)
|
||||
end
|
||||
|
||||
Then /^the default context of the new todo form should be "([^"]*)"$/ do |context_name|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue