summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test/memberships_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/api_test/memberships_test.rb')
-rw-r--r--test/integration/api_test/memberships_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/api_test/memberships_test.rb b/test/integration/api_test/memberships_test.rb
index 0243b3f04..ddd2d4e4c 100644
--- a/test/integration/api_test/memberships_test.rb
+++ b/test/integration/api_test/memberships_test.rb
@@ -157,6 +157,7 @@ class ApiTest::MembershipsTest < ActionController::IntegrationTest
put '/memberships/2.xml', {:membership => {:user_id => 3, :role_ids => [1,2]}}, credentials('jsmith')
assert_response :ok
+ assert_equal '', @response.body
end
member = Member.find(2)
assert_equal [1,2], member.role_ids.sort
@@ -179,6 +180,7 @@ class ApiTest::MembershipsTest < ActionController::IntegrationTest
delete '/memberships/2.xml', {}, credentials('jsmith')
assert_response :ok
+ assert_equal '', @response.body
end
assert_nil Member.find_by_id(2)
end