Ensure user has a unique username otherwise user10
would match user1
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
5388bb1cca
commit
bf69e6291d
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ require 'spec_helper'
|
||||||
describe API::Members, api: true do
|
describe API::Members, api: true do
|
||||||
include ApiHelpers
|
include ApiHelpers
|
||||||
|
|
||||||
let(:master) { create(:user) }
|
let(:master) { create(:user, username: 'master_user') }
|
||||||
let(:developer) { create(:user) }
|
let(:developer) { create(:user) }
|
||||||
let(:access_requester) { create(:user) }
|
let(:access_requester) { create(:user) }
|
||||||
let(:stranger) { create(:user) }
|
let(:stranger) { create(:user) }
|
||||||
|
|
Loading…
Reference in a new issue