From 5972aa9af3e50fc23e2da1a2937dd8092f2dc089 Mon Sep 17 00:00:00 2001 From: Ethan Koenig Date: Sat, 4 Feb 2017 10:58:43 -0500 Subject: [PATCH] Fix inconsistencies in test fixtures --- models/fixtures/team.yml | 2 +- models/fixtures/user.yml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/models/fixtures/team.yml b/models/fixtures/team.yml index 99e228efeb..4d559aa7e5 100644 --- a/models/fixtures/team.yml +++ b/models/fixtures/team.yml @@ -4,7 +4,7 @@ lower_name: owners name: owners authorize: 4 # owner - num_repos: 1 + num_repos: 2 num_members: 1 - diff --git a/models/fixtures/user.yml b/models/fixtures/user.yml index 1bca6049f1..3ed0b2b618 100644 --- a/models/fixtures/user.yml +++ b/models/fixtures/user.yml @@ -25,6 +25,7 @@ avatar: avatar2 avatar_email: user2@example.com num_repos: 2 + num_stars: 2 - id: 3 @@ -40,6 +41,7 @@ avatar_email: user3@example.com num_repos: 2 num_members: 2 + num_teams: 2 - id: 4 @@ -85,6 +87,7 @@ avatar_email: user6@example.com num_repos: 0 num_members: 1 + num_teams: 1 - id: 7 @@ -100,6 +103,7 @@ avatar_email: user7@example.com num_repos: 0 num_members: 1 + num_teams: 1 - id: 8 @@ -114,7 +118,6 @@ avatar: avatar8 avatar_email: user8@example.com num_repos: 0 - num_members: 1 is_active: true - @@ -130,7 +133,6 @@ avatar: avatar9 avatar_email: user9@example.com num_repos: 0 - num_members: 1 is_active: false - @@ -146,5 +148,4 @@ avatar: avatar10 avatar_email: user10@example.com num_repos: 0 - num_members: 1 is_active: true