Commit d29e6b73 authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Use single-quotes instead double-quotes

parent 8d2ceb36
...@@ -23,7 +23,7 @@ describe IssueLink do ...@@ -23,7 +23,7 @@ describe IssueLink do
issue_link = build :issue_link, source: issue, target: issue issue_link = build :issue_link, source: issue, target: issue
expect(issue_link).to be_invalid expect(issue_link).to be_invalid
expect(issue_link.errors[:source]).to include("cannot be related to itself") expect(issue_link.errors[:source]).to include('cannot be related to itself')
end end
end end
end end
......
...@@ -25,7 +25,7 @@ describe IssueLinks::CreateService, service: true do ...@@ -25,7 +25,7 @@ describe IssueLinks::CreateService, service: true do
end end
it 'returns error' do it 'returns error' do
is_expected.to eq(message: "No Issue found for given reference", status: :error, http_status: 401) is_expected.to eq(message: 'No Issue found for given reference', status: :error, http_status: 401)
end end
end end
...@@ -35,7 +35,7 @@ describe IssueLinks::CreateService, service: true do ...@@ -35,7 +35,7 @@ describe IssueLinks::CreateService, service: true do
end end
it 'returns error' do it 'returns error' do
is_expected.to eq(message: "No Issue found for given reference", status: :error, http_status: 401) is_expected.to eq(message: 'No Issue found for given reference', status: :error, http_status: 401)
end end
it 'no relationship is created' do it 'no relationship is created' do
...@@ -151,7 +151,7 @@ describe IssueLinks::CreateService, service: true do ...@@ -151,7 +151,7 @@ describe IssueLinks::CreateService, service: true do
end end
it 'returns error' do it 'returns error' do
is_expected.to eq(message: "Validation failed: Source issue is already related", status: :error, http_status: 401) is_expected.to eq(message: 'Validation failed: Source issue is already related', status: :error, http_status: 401)
end end
it 'no relation is created' do it 'no relation is created' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment