Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-10-04 21:08:15 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-04 21:08:15 +0300
commit23dda8d4edb3c0efeb34586969ce0c64e385f936 (patch)
tree7573726226f43c71edff707dda377ca3088d3477 /spec/features/issuables
parentbf6d126a58a66a11b2e4b9de89986174a1885105 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/issuables')
-rw-r--r--spec/features/issuables/markdown_references/jira_spec.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/features/issuables/markdown_references/jira_spec.rb b/spec/features/issuables/markdown_references/jira_spec.rb
index 9d46b3a274e..66d0022f7e9 100644
--- a/spec/features/issuables/markdown_references/jira_spec.rb
+++ b/spec/features/issuables/markdown_references/jira_spec.rb
@@ -15,8 +15,6 @@ RSpec.describe "Jira", :js do
before do
remotelink = double(:remotelink, all: [], build: double(save!: true))
- stub_feature_flags(remove_user_attributes_projects: false)
-
stub_request(:get, "https://jira.example.com/rest/api/2/issue/JIRA-5")
stub_request(:post, "https://jira.example.com/rest/api/2/issue/JIRA-5/comment")
allow_next_instance_of(JIRA::Resource::Issue) do |instance|
@@ -59,7 +57,7 @@ RSpec.describe "Jira", :js do
visit(issue_path(issue_actual_project))
page.within("#notes") do
- expect(page).to have_content("#{user.to_reference} mentioned in merge request #{merge_request.to_reference}")
+ expect(page).to have_content("#{user.name} mentioned in merge request #{merge_request.to_reference}")
end
end
@@ -67,7 +65,7 @@ RSpec.describe "Jira", :js do
visit(issue_path(issue_other_project))
page.within("#notes") do
- expect(page).to have_content("#{user.to_reference} mentioned in merge request #{merge_request.to_reference(other_project)}")
+ expect(page).to have_content("#{user.name} mentioned in merge request #{merge_request.to_reference(other_project)}")
end
end
end