diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-03-04 13:54:37 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-03-11 23:25:23 +0300 |
commit | 0ab9571ad791c608ec258426edb195ae95b45220 (patch) | |
tree | 578815a571ebd32e2806d3a0ec65d95f25e39f73 | |
parent | 9e00a237161679b0d6afdefd246e0a7bf209510c (diff) |
Fixed a few spec typos
-rw-r--r-- | spec/models/concerns/issuable_spec.rb | 6 | ||||
-rw-r--r-- | spec/models/user_spec.rb | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/spec/models/concerns/issuable_spec.rb b/spec/models/concerns/issuable_spec.rb index f0e4de8539e..aff384c2949 100644 --- a/spec/models/concerns/issuable_spec.rb +++ b/spec/models/concerns/issuable_spec.rb @@ -32,7 +32,7 @@ describe Issue, "Issuable" do describe ".search" do let!(:searchable_issue) { create(:issue, title: "Searchable issue") } - it 'returns notches with a matching title' do + it 'returns notes with a matching title' do expect(described_class.search(searchable_issue.title)). to eq([searchable_issue]) end @@ -52,7 +52,7 @@ describe Issue, "Issuable" do create(:issue, title: "Searchable issue", description: 'kittens') end - it 'returns notches with a matching title' do + it 'returns notes with a matching title' do expect(described_class.full_search(searchable_issue.title)). to eq([searchable_issue]) end @@ -66,7 +66,7 @@ describe Issue, "Issuable" do to eq([searchable_issue]) end - it 'returns notches with a matching description' do + it 'returns notes with a matching description' do expect(described_class.full_search(searchable_issue.description)). to eq([searchable_issue]) end diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 90207f5153a..909b6796591 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -474,7 +474,7 @@ describe User, models: true do expect(described_class.search(user.name[0..2])).to eq([user]) end - it 'returns users with a matching name regarding of the casing' do + it 'returns users with a matching name regardless of the casing' do expect(described_class.search(user.name.upcase)).to eq([user]) end @@ -486,7 +486,7 @@ describe User, models: true do expect(described_class.search(user.email[0..2])).to eq([user]) end - it 'returns users with a matching Email regarding of the casing' do + it 'returns users with a matching Email regardless of the casing' do expect(described_class.search(user.email.upcase)).to eq([user]) end @@ -498,7 +498,7 @@ describe User, models: true do expect(described_class.search(user.username[0..2])).to eq([user]) end - it 'returns users with a matching username regarding of the casing' do + it 'returns users with a matching username regardless of the casing' do expect(described_class.search(user.username.upcase)).to eq([user]) end end |