Skip to content
Snippets Groups Projects
Commit 762b63e5 authored by Stan Hu's avatar Stan Hu
Browse files

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
parent 2ebc63dd
No related branches found
No related tags found
1 merge request!6912Fix Spinach failure due overprecise percentage matching
Pipeline #
Loading
@@ -19,8 +19,8 @@ class Spinach::Features::ProjectGraph < Spinach::FeatureSteps
Loading
@@ -19,8 +19,8 @@ class Spinach::Features::ProjectGraph < Spinach::FeatureSteps
end end
   
step 'page should have languages graphs' do step 'page should have languages graphs' do
expect(page).to have_content "Ruby 66.63 %" expect(page).to have_content /Ruby 66.* %/
expect(page).to have_content "JavaScript 22.96 %" expect(page).to have_content /JavaScript 22.* %/
end end
   
step 'page should have commits graphs' do step 'page should have commits graphs' do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment