summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-10-15 11:56:50 +0000
committerRobert Speicher <robert@gitlab.com>2016-10-15 11:56:50 +0000
commit0225f0e6902f0f6fa73d17c7209df28f279e096e (patch)
treed556cbad397763c73a4381109c59effe47360c1b
parent602cac526d55d10ef05558c296ce7f27205801cc (diff)
parent762b63e56965223bd217224a407f15ec6b1b1d3d (diff)
downloadgitlab-ce-0225f0e6902f0f6fa73d17c7209df28f279e096e.tar.gz
Merge branch 'fix-language-spinach-failure' into 'master'
Fix Spinach failure due overprecise percentage matching The percentages in the language match changed by a tenth of a percentage point for Ruby and JavaScript, which led to this failure. Partial fix to #23378 See merge request !6912
-rw-r--r--features/steps/project/graph.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/project/graph.rb b/features/steps/project/graph.rb
index b09ec86e5df..7490d2bc6e7 100644
--- a/features/steps/project/graph.rb
+++ b/features/steps/project/graph.rb
@@ -19,8 +19,8 @@ class Spinach::Features::ProjectGraph < Spinach::FeatureSteps
end
step 'page should have languages graphs' do
- expect(page).to have_content "Ruby 66.63 %"
- expect(page).to have_content "JavaScript 22.96 %"
+ expect(page).to have_content /Ruby 66.* %/
+ expect(page).to have_content /JavaScript 22.* %/
end
step 'page should have commits graphs' do