From 8b573c94895dc0ac0e1d9d59cf3e8745e8b539ca Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 17 Dec 2020 11:59:07 +0000 Subject: Add latest changes from gitlab-org/gitlab@13-7-stable-ee --- spec/views/layouts/_head.html.haml_spec.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'spec/views/layouts/_head.html.haml_spec.rb') diff --git a/spec/views/layouts/_head.html.haml_spec.rb b/spec/views/layouts/_head.html.haml_spec.rb index 25fcbeb61df..d8748873f64 100644 --- a/spec/views/layouts/_head.html.haml_spec.rb +++ b/spec/views/layouts/_head.html.haml_spec.rb @@ -86,21 +86,21 @@ RSpec.describe 'layouts/_head' do end end - context 'when a Piwik config is set' do - let(:piwik_host) { 'piwik.example.com' } + context 'when a Matomo config is set' do + let(:matomo_host) { 'matomo.example.com' } before do stub_config(extra: { - piwik_url: piwik_host, - piwik_site_id: 12345 + matomo_url: matomo_host, + matomo_site_id: 12345 }) end - it 'add a Piwik Javascript' do + it 'add a Matomo Javascript' do render - expect(rendered).to match(/.*var u="\/\/#{piwik_host}\/".*<\/script>/m) - expect(rendered).to match(%r(