=link_tos_('Promotions|Try it for free'),new_trial_registration_path,class: 'btn btn-primary issue-weights-trial-cta',target: target_blank?'_blank':'_self'
=link_tos_('Promotions|Try it for free'),new_trial_registration_path(glm_source: 'gitlab.com',glm_content: 'discover-issue-weights'),class: 'btn btn-primary issue-weights-trial-cta',target: target_blank?'_blank':'_self'
-else
-current_group=@project&.group||@group
=link_tos_('Promotions|Upgrade your plan'),upgrade_plan_path(current_group),class: 'btn btn-primary issue-weights-upgrade-cta',target: target_blank?'_blank':'_self'
expect(find('.issue-weights-trial-cta')).tohave_content'Try it for free'
expect(page).tohave_link'Try it for free',href: new_trial_registration_path(glm_source: 'gitlab.com',glm_content: 'discover-issue-weights'),class: 'issue-weights-trial-cta'