diff options
Diffstat (limited to 'test/integration/api_test/memberships_test.rb')
-rw-r--r-- | test/integration/api_test/memberships_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/api_test/memberships_test.rb b/test/integration/api_test/memberships_test.rb index 7ad0c5790..2493c797d 100644 --- a/test/integration/api_test/memberships_test.rb +++ b/test/integration/api_test/memberships_test.rb @@ -165,7 +165,7 @@ class Redmine::ApiTest::MembershipsTest < Redmine::ApiTest::Base assert_response :unprocessable_entity assert_equal 'application/xml', @response.content_type - assert_tag 'errors', :child => {:tag => 'error', :content => /member_roles is invalid/} + assert_tag 'errors', :child => {:tag => 'error', :content => /role can't be empty/i} end test "DELETE /memberships/:id.xml should destroy the membership" do |