From 05349ae632287e8666f83aff26335e06a2ce6d09 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Wed, 9 Apr 2014 15:46:22 -0300 Subject: [PATCH] making sure the member place is not rejected --- tests/group_tests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/group_tests.py b/tests/group_tests.py index c301e25..48da38a 100644 --- a/tests/group_tests.py +++ b/tests/group_tests.py @@ -462,6 +462,9 @@ class TestPlacesInGroup(LunchoTests): request, token=self.user.token) self.assertJsonOk(rv) + json = loads(rv.data) + self.assertTrue('rejected' in json) + self.assertFalse(json['rejected']) def test_add_place_of_non_member(self): """Add a place that belongs to seomeone not in the group."""