Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-23 16:51:42 +0300
committerClement Ho <ClemMakesApps@gmail.com>2018-04-23 16:51:42 +0300
commit8bd38fdc254a4ce9fb760c9b5fa8e4237f9f805b (patch)
tree72a352e2cc9dc1aa7b01e010dc034c879650ac91 /spec/features/boards
parentf9410cb9dd7f7633e271948a4e485307a60ad9cc (diff)
parent627eba55d63daf7e725edc5425debfc3890f2f9f (diff)
Merge branch 'master' into bootstrap4
Diffstat (limited to 'spec/features/boards')
-rw-r--r--spec/features/boards/new_issue_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/features/boards/new_issue_spec.rb b/spec/features/boards/new_issue_spec.rb
index 6769acb7c9c..e880f0096c1 100644
--- a/spec/features/boards/new_issue_spec.rb
+++ b/spec/features/boards/new_issue_spec.rb
@@ -63,6 +63,13 @@ describe 'Issue Boards new issue', :js do
page.within(first('.board .issue-count-badge-count')) do
expect(page).to have_content('1')
end
+
+ page.within(first('.card')) do
+ issue = project.issues.find_by_title('bug')
+
+ expect(page).to have_content(issue.to_reference)
+ expect(page).to have_link(issue.title, href: issue_path(issue))
+ end
end
it 'shows sidebar when creating new issue' do