Commit 9d637d57 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix tests

parent 8686d09d
...@@ -183,7 +183,7 @@ describe "Issues" do ...@@ -183,7 +183,7 @@ describe "Issues" do
it 'with dropdown menu' do it 'with dropdown menu' do
visit project_issue_path(project, issue) visit project_issue_path(project, issue)
find('.edit-issue.inline-update').select(project.team.members.first.name, from: 'issue_assignee_id') find('.edit-issue.inline-update #issue_assignee_id').set project.team.members.first.id
click_button 'Update Issue' click_button 'Update Issue'
page.should have_content "currently assigned to" page.should have_content "currently assigned to"
...@@ -258,4 +258,4 @@ describe "Issues" do ...@@ -258,4 +258,4 @@ describe "Issues" do
def last_issue def last_issue
all("ul.issues-list li").last.text all("ul.issues-list li").last.text
end end
end end
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment