Commit 11e728c3 authored by Catalin Irimie's avatar Catalin Irimie

Fix linting errors

parent 440c5627
......@@ -2174,7 +2174,7 @@ RSpec.describe User do
end
it 'returns users with a partially matching username' do
expect(search_without_secondary_emails(user.username[0..2])).to eq([user])
expect(search_without_secondary_emails(user.username[0..2])).to eq([user])
end
it 'returns users with a matching username regardless of the casing' do
......@@ -2198,7 +2198,6 @@ RSpec.describe User do
end
end
describe '.search_with_secondary_emails' do
delegate :search_with_secondary_emails, to: :described_class
......
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