Commit 0ab9571a authored by Yorick Peterse's avatar Yorick Peterse Committed by Robert Speicher

Fixed a few spec typos

parent 9e00a237
......@@ -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
......
......@@ -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
......
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