summaryrefslogtreecommitdiff
path: root/spec/models/project_services
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2019-06-28 13:25:56 +0000
committerRémy Coutable <remy@rymai.me>2019-06-28 13:25:56 +0000
commitaf5da7564edab1d3f2457e13e3157f2806b0b9a0 (patch)
tree3974da0ab5be197ac4256ed2b297216275042e38 /spec/models/project_services
parent423c4c43cb73c72e8b27d7c091f392e3a09be354 (diff)
downloadgitlab-ce-af5da7564edab1d3f2457e13e3157f2806b0b9a0.tar.gz
Replace 'JIRA' with 'Jira'
https://community.atlassian.com/t5/Jira-questions/Is-it-quot-JIRA-quot-or-quot-Jira-quot/qaq-p/681163 Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Diffstat (limited to 'spec/models/project_services')
-rw-r--r--spec/models/project_services/jira_service_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/models/project_services/jira_service_spec.rb b/spec/models/project_services/jira_service_spec.rb
index 04ae9390436..fc08457a3c5 100644
--- a/spec/models/project_services/jira_service_spec.rb
+++ b/spec/models/project_services/jira_service_spec.rb
@@ -158,7 +158,7 @@ describe JiraService do
WebMock.stub_request(:post, @remote_link_url).with(basic_auth: %w(gitlab_jira_username gitlab_jira_password))
end
- it 'calls JIRA API' do
+ it 'calls Jira API' do
@jira_service.close_issue(resource, ExternalIssue.new('JIRA-123', project))
expect(WebMock).to have_requested(:post, @comment_url).with(
@@ -175,14 +175,14 @@ describe JiraService do
# Check https://developer.atlassian.com/jiradev/jira-platform/guides/other/guide-jira-remote-issue-links/fields-in-remote-issue-links
# for more information
- it 'creates Remote Link reference in JIRA for comment' do
+ it 'creates Remote Link reference in Jira for comment' do
@jira_service.close_issue(resource, ExternalIssue.new('JIRA-123', project))
favicon_path = "http://localhost/assets/#{find_asset('favicon.png').digest_path}"
# Creates comment
expect(WebMock).to have_requested(:post, @comment_url)
- # Creates Remote Link in JIRA issue fields
+ # Creates Remote Link in Jira issue fields
expect(WebMock).to have_requested(:post, @remote_link_url).with(
body: hash_including(
GlobalID: 'GitLab',
@@ -319,7 +319,7 @@ describe JiraService do
end
context 'when the test succeeds' do
- it 'tries to get JIRA project with URL when API URL not set' do
+ it 'tries to get Jira project with URL when API URL not set' do
test_settings('jira.example.com')
end
@@ -327,7 +327,7 @@ describe JiraService do
expect(test_settings).to eq( { success: true, result: { 'url' => 'http://url' } })
end
- it 'tries to get JIRA project with API URL if set' do
+ it 'tries to get Jira project with API URL if set' do
jira_service.update(api_url: 'http://jira.api.com')
test_settings('jira.api.com')
end
@@ -462,7 +462,7 @@ describe JiraService do
end
it 'is initialized' do
- expect(@service.title).to eq('JIRA')
+ expect(@service.title).to eq('Jira')
expect(@service.description).to eq('Jira issue tracker')
end
end