From b45eb837ef6ae9e34fb84c598e7f375ec94e3b22 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Sat, 7 Jun 2008 15:35:42 +0000 Subject: [PATCH] ActionItem165: fixing test by adding a fixture --- test/fixtures/roles.yml | 5 +++++ test/unit/organization_test.rb | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/test/fixtures/roles.yml b/test/fixtures/roles.yml index d6c0ed2..7194957 100644 --- a/test/fixtures/roles.yml +++ b/test/fixtures/roles.yml @@ -37,3 +37,8 @@ profile_member: key: 'profile_member' name: 'Profile Member' system: true +profile_moderator: + id: 7 + key: 'profile_moderator' + name: 'Profile Moderator' + system: true diff --git a/test/unit/organization_test.rb b/test/unit/organization_test.rb index 5929e64..1f8ddc8 100644 --- a/test/unit/organization_test.rb +++ b/test/unit/organization_test.rb @@ -188,7 +188,6 @@ class OrganizationTest < Test::Unit::TestCase p = create_user('myanothertestuser').person o.add_moderator(p) - o.reload assert o.members.include?(p), "Organization should add the new moderator" end -- libgit2 0.21.2