Fix broken specs and refactor code

Fix conflicts after rebase
51 jobs for 25373-fix-duplicate-links-on-jira in 126 minutes and 56 seconds (queued for 9 seconds)
latest
Status Job ID Name Coverage
  Prepare
passed #7668135
gitlab-org 2gb
knapsack

00:00:55

passed #7668136
gitlab-org 2gb
setup-test-env

00:11:28

 
  Test
passed #7668183
gitlab-org 2gb
bundler:check

00:08:04

passed #7668177
gitlab-org 2gb
license_finder

00:09:08

passed #7668182
gitlab-org 2gb
lint-doc

00:00:35

passed #7668184
gitlab-org 2gb
lint:javascript

00:01:47

passed #7668174
gitlab-org 2gb
rake brakeman

00:08:40

passed #7668179
gitlab-org 2gb
rake db:migrate:reset

00:09:19

passed #7668180
gitlab-org 2gb
rake db:seed_fu

00:07:49

passed #7668178
gitlab-org 2gb
rake downtime_check

00:09:47

passed #7668176
gitlab-org 2gb
rake flay

00:07:06

passed #7668172
gitlab-org 2gb
rake haml_lint

00:06:31

passed #7668173
gitlab-org 2gb
rake scss_lint

00:10:25

passed #7668137
gitlab-org 2gb
rspec 0 20

00:46:04

passed #7668138
gitlab-org 2gb
rspec 1 20

00:24:26

passed #7668147
gitlab-org 2gb
rspec 10 20

00:30:38

passed #7668148
gitlab-org 2gb
rspec 11 20

00:31:43

passed #7668149
gitlab-org 2gb
rspec 12 20

00:28:00

passed #7668151
gitlab-org 2gb
rspec 13 20

00:35:55

passed #7668152
gitlab-org 2gb
rspec 14 20

00:33:26

passed #7668153
gitlab-org 2gb
rspec 15 20

00:28:38

passed #7675219
2gb gitlab-org
rspec 16 20

00:43:53

passed #7668155
gitlab-org 2gb
rspec 17 20

00:38:41

passed #7675164
2gb gitlab-org
rspec 18 20

00:29:27

passed #7668157
gitlab-org 2gb
rspec 19 20

00:23:28

passed #7668139
gitlab-org 2gb
rspec 2 20

00:23:58

passed #7668140
gitlab-org 2gb
rspec 3 20

00:26:46

passed #7668141
gitlab-org 2gb
rspec 4 20

00:48:31

passed #7668142
gitlab-org 2gb
rspec 5 20

00:37:45

passed #7668143
gitlab-org 2gb
rspec 6 20

00:53:10

passed #7668144
gitlab-org 2gb
rspec 7 20

00:23:30

passed #7668145
gitlab-org 2gb
rspec 8 20

00:37:08

passed #7668146
gitlab-org 2gb
rspec 9 20

00:28:59

passed #7668171
gitlab-org 2gb
rubocop

00:08:16

passed #7668158
gitlab-org 2gb
spinach 0 10

00:28:36

passed #7668159
gitlab-org 2gb
spinach 1 10

00:20:37

passed #7675055
2gb gitlab-org
spinach 2 10

00:43:44

passed #7668161
gitlab-org 2gb
spinach 3 10

00:27:49

passed #7668162
gitlab-org 2gb
spinach 4 10

00:26:37

passed #7668163
gitlab-org 2gb
spinach 5 10

00:29:01

passed #7668165
gitlab-org 2gb
spinach 6 10

00:30:13

passed #7675036
2gb gitlab-org
spinach 7 10

00:55:26

passed #7668169
gitlab-org 2gb
spinach 8 10

00:16:18

passed #7668170
gitlab-org 2gb
spinach 9 10

00:37:40

passed #7668181
gitlab-org 2gb
teaspoon

00:15:37

failed #7668154
gitlab-org 2gb
rspec 16 20

00:51:07

failed #7668156
gitlab-org 2gb
rspec 18 20

00:48:12

failed #7668160
gitlab-org 2gb
spinach 2 10

00:00:47

failed #7668166
gitlab-org 2gb
spinach 7 10

01:00:19

 
  Post Test
passed #7668185
gitlab-org 2gb
coverage

00:06:22

passed #7668186
gitlab-org 2gb
lint:javascript:report

00:02:18