Skip to content
Snippets Groups Projects
Commit 8f3b1d6e authored by Robert Speicher's avatar Robert Speicher
Browse files

Fix spec broken by bde19c06

parent bde19c06
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -10,7 +10,7 @@ describe UsersProject do
let!(:users_project) { create(:users_project) }
 
it { should validate_presence_of(:user_id) }
it { should validate_uniqueness_of(:user_id).scoped_to(:project_id) }
it { should validate_uniqueness_of(:user_id).scoped_to(:project_id).with_message(/already exists/) }
 
it { should validate_presence_of(:project_id) }
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment