Fix tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
9728ae854e
commit
e64c3b2b5c
1 changed files with 6 additions and 6 deletions
|
@ -227,7 +227,7 @@ describe "Issues" do
|
||||||
find('.edit-issue.inline-update').select(milestone.title, from: 'issue_milestone_id')
|
find('.edit-issue.inline-update').select(milestone.title, from: 'issue_milestone_id')
|
||||||
click_button 'Update Issue'
|
click_button 'Update Issue'
|
||||||
|
|
||||||
page.should have_content "and attached to milestone"
|
page.should have_content "Attached to milestone"
|
||||||
page.has_select?('issue_assignee_id', :selected => milestone.title)
|
page.has_select?('issue_assignee_id', :selected => milestone.title)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -248,7 +248,7 @@ describe "Issues" do
|
||||||
|
|
||||||
visit project_issue_path(project, issue)
|
visit project_issue_path(project, issue)
|
||||||
|
|
||||||
page.should have_content "attached to milestone #{milestone.title}"
|
page.should have_content "Attached to milestone #{milestone.title}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue