test/admin/api_test.rb in rack-oauth2-server-2.1.0 vs test/admin/api_test.rb in rack-oauth2-server-2.2.0

- old
+ new

@@ -77,11 +77,11 @@ setup { with_scope ; get "/oauth/admin/api/clients" } should "return OK" do assert_equal 200, last_response.status end should "return JSON document" do - assert_equal "application/json;charset=utf-8", last_response.content_type + assert_equal "application/json", last_response.content_type.split(";").first end should "return list of clients" do assert Array === json["list"] end should "return known scope" do @@ -191,10 +191,10 @@ should "return OK" do assert_equal 200, last_response.status end should "return JSON document" do - assert_equal "application/json;charset=utf-8", last_response.content_type + assert_equal "application/json", last_response.content_type.split(";").first end should "provide client identifier" do assert_equal client.id.to_s, json["id"] end should "provide client secret" do