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, 1 insertions, 1 deletions
diff --git a/test/integration/api_test/memberships_test.rb b/test/integration/api_test/memberships_test.rb
index dcda2c4dd..0243b3f04 100644
--- a/test/integration/api_test/memberships_test.rb
+++ b/test/integration/api_test/memberships_test.rb
@@ -167,7 +167,7 @@ class ApiTest::MembershipsTest < ActionController::IntegrationTest
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 => /member_roles is invalid/}
end
end
end