Commit bf69e629 authored by Rémy Coutable's avatar Rémy Coutable

Ensure user has a unique username otherwise `user10` would match `user1`

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 5388bb1c
...@@ -3,7 +3,7 @@ require 'spec_helper' ...@@ -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) }
......
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