Browse Source

Dupe attribute

pull/600/head
baarkerlounger 3 years ago
parent
commit
333178b477
  1. 2
      spec/requests/users_controller_spec.rb

2
spec/requests/users_controller_spec.rb

@ -364,7 +364,7 @@ RSpec.describe UsersController, type: :request do
end end
context "when a search parameter is passed" do context "when a search parameter is passed" do
let!(:other_user_2) { FactoryBot.create(:user, name: "Stock name", organisation: user.organisation, name: "joe", email: "other@example.com") } let!(:other_user_2) { FactoryBot.create(:user, organisation: user.organisation, name: "joe", email: "other@example.com") }
let!(:other_user_3) { FactoryBot.create(:user, name: "User 5", organisation: user.organisation, email: "joe@example.com") } let!(:other_user_3) { FactoryBot.create(:user, name: "User 5", organisation: user.organisation, email: "joe@example.com") }
let!(:other_org_user) { FactoryBot.create(:user, name: "User 4", email: "joe@other_example.com") } let!(:other_org_user) { FactoryBot.create(:user, name: "User 4", email: "joe@other_example.com") }

Loading…
Cancel
Save