summaryrefslogtreecommitdiff
path: root/spec/features/projects/branches/user_views_branches_spec.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2019-02-06 09:54:53 +0000
committerJohn Cai <jcai@gitlab.com>2019-02-11 10:44:06 -0800
commitb502d90a9f0521247e8c42f1ed586f6f4a52507a (patch)
treed6808a5da1a71e6ceb6f6bf29d6b5b03a8248c7b /spec/features/projects/branches/user_views_branches_spec.rb
parent1f2f38f59a719f7dae110835b8beb3d94fdcd94d (diff)
downloadgitlab-ce-b502d90a9f0521247e8c42f1ed586f6f4a52507a.tar.gz
Adapt that diverging commits could be just one baradd-client-for-count-diverging-commits
refactors the ui for diverging commits so that it's only a single bar instead of two separate bars
Diffstat (limited to 'spec/features/projects/branches/user_views_branches_spec.rb')
-rw-r--r--spec/features/projects/branches/user_views_branches_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/features/projects/branches/user_views_branches_spec.rb b/spec/features/projects/branches/user_views_branches_spec.rb
index 62ae793151c..777d30fdffd 100644
--- a/spec/features/projects/branches/user_views_branches_spec.rb
+++ b/spec/features/projects/branches/user_views_branches_spec.rb
@@ -15,6 +15,8 @@ describe "User views branches" do
it "shows branches" do
expect(page).to have_content("Branches").and have_content("master")
+
+ expect(page.all(".graph-side")).to all( have_content(/\d+/) )
end
end