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
This commit is contained in:
Stan Hu 2016-10-14 17:07:38 -07:00
parent 2ebc63dd3c
commit 762b63e569
1 changed files with 2 additions and 2 deletions

View File

@ -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