Commit 0225f0e6 authored by Robert Speicher's avatar Robert Speicher

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
parents 602cac52 762b63e5
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment