diff options
author | Hiroyuki Sato <sathiroyuki@gmail.com> | 2019-02-05 11:32:27 +0300 |
---|---|---|
committer | Hiroyuki Sato <sathiroyuki@gmail.com> | 2019-02-05 11:32:27 +0300 |
commit | 40198f81843b315f2eb1c1a1a65292b6fc61f9d7 (patch) | |
tree | e7775a077db07cafab1424562c3badc92e60fd7d /spec/models/concerns | |
parent | d32aec06fe2d6ee0b2b0c0d1ca8cfd9bab14e4e7 (diff) |
Fix grammar and spelling
Diffstat (limited to 'spec/models/concerns')
-rw-r--r-- | spec/models/concerns/issuable_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/models/concerns/issuable_spec.rb b/spec/models/concerns/issuable_spec.rb index d7003cdb760..44c946be23f 100644 --- a/spec/models/concerns/issuable_spec.rb +++ b/spec/models/concerns/issuable_spec.rb @@ -140,7 +140,7 @@ describe Issuable do expect(issuable_class.full_search(searchable_issue2.description.downcase)).to eq([searchable_issue2]) end - context 'when mathing columns is "title"' do + context 'when matching columns is "title"' do it 'returns issues with a matching title' do expect(issuable_class.full_search(searchable_issue.title, matched_columns: 'title')) .to eq([searchable_issue]) @@ -152,7 +152,7 @@ describe Issuable do end end - context 'when mathing columns is "description"' do + context 'when matching columns is "description"' do it 'returns no issues with a matching title' do expect(issuable_class.full_search(searchable_issue.title, matched_columns: 'description')) .to be_empty @@ -164,7 +164,7 @@ describe Issuable do end end - context 'when mathing columns is "title,description"' do + context 'when matching columns is "title,description"' do it 'returns issues with a matching title' do expect(issuable_class.full_search(searchable_issue.title, matched_columns: 'title,description')) .to eq([searchable_issue]) @@ -176,7 +176,7 @@ describe Issuable do end end - context 'when mathing columns is nil"' do + context 'when matching columns is nil"' do it 'returns issues with a matching title' do expect(issuable_class.full_search(searchable_issue.title, matched_columns: nil)) .to eq([searchable_issue]) @@ -188,7 +188,7 @@ describe Issuable do end end - context 'when mathing columns is "invalid"' do + context 'when matching columns is "invalid"' do it 'returns issues with a matching title' do expect(issuable_class.full_search(searchable_issue.title, matched_columns: 'invalid')) .to eq([searchable_issue]) @@ -200,7 +200,7 @@ describe Issuable do end end - context 'when mathing columns is "title,invalid"' do + context 'when matching columns is "title,invalid"' do it 'returns issues with a matching title' do expect(issuable_class.full_search(searchable_issue.title, matched_columns: 'title,invalid')) .to eq([searchable_issue]) |