Commit c9dcefe0 authored by Clement Ho's avatar Clement Ho

Fix boards new issue spec

parent 0420a3b8
...@@ -64,7 +64,7 @@ describe 'Issue Boards new issue', :js do ...@@ -64,7 +64,7 @@ describe 'Issue Boards new issue', :js do
expect(page).to have_content('1') expect(page).to have_content('1')
end end
page.within(first('.card')) do page.within(first('.board-card')) do
issue = project.issues.find_by_title('bug') issue = project.issues.find_by_title('bug')
expect(page).to have_content(issue.to_reference) expect(page).to have_content(issue.to_reference)
......
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