summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-10-14 17:07:38 -0700
committerStan Hu <stanhu@gmail.com>2016-10-14 17:07:38 -0700
commit762b63e56965223bd217224a407f15ec6b1b1d3d (patch)
tree2598562c0b95309f0193c000c53470c876484956 /features
parent2ebc63dd3ce08ff35bf89d39e1906ce1cf828b3a (diff)
downloadgitlab-ce-762b63e56965223bd217224a407f15ec6b1b1d3d.tar.gz
Fix Spinach failure due overprecise percentage matchingfix-language-spinach-failure
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
Diffstat (limited to 'features')
-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