Sha256: 185eb3bcb62c9c6a50c0d33c9301990c0724df628cb3809c23b2b699528bb70a
Contents?: true
Size: 1.95 KB
Versions: 13
Compression:
Stored size: 1.95 KB
Contents
require File.join(File.dirname(__FILE__),'..','api_helper') describe "RhoconnectApiListClientDocs" do it_should_behave_like "ApiHelper" do it "should list client documents" do source_id = "SimpleAdapter" get "/rc/#{Rhoconnect::API_VERSION}/clients/#{@c.id}/sources/#{source_id}/docnames", {}, {Rhoconnect::API_TOKEN_HEADER => @api_token} JSON.parse(last_response.body).should == { "cd"=>"client:application:testuser:#{@c.id}:SimpleAdapter:cd", "cd_size"=>"client:application:testuser:#{@c.id}:SimpleAdapter:cd_size", "create"=>"client:application:testuser:#{@c.id}:SimpleAdapter:create", "update"=>"client:application:testuser:#{@c.id}:SimpleAdapter:update", "delete"=>"client:application:testuser:#{@c.id}:SimpleAdapter:delete", "page"=>"client:application:testuser:#{@c.id}:SimpleAdapter:page", "page_token"=>"client:application:testuser:#{@c.id}:SimpleAdapter:page_token", "delete_page"=>"client:application:testuser:#{@c.id}:SimpleAdapter:delete_page", "create_links"=>"client:application:testuser:#{@c.id}:SimpleAdapter:create_links", "create_links_page"=>"client:application:testuser:#{@c.id}:SimpleAdapter:create_links_page", "delete_errors"=>"client:application:testuser:#{@c.id}:SimpleAdapter:delete_errors", "login_error"=>"client:application:testuser:#{@c.id}:SimpleAdapter:login_error", "create_errors"=>"client:application:testuser:#{@c.id}:SimpleAdapter:create_errors", "update_errors"=>"client:application:testuser:#{@c.id}:SimpleAdapter:update_errors", "logoff_error"=>"client:application:testuser:#{@c.id}:SimpleAdapter:logoff_error", "search"=>"client:application:testuser:#{@c.id}:SimpleAdapter:search", "search_token"=>"client:application:testuser:#{@c.id}:SimpleAdapter:search_token", "search_errors"=>"client:application:testuser:#{@c.id}:SimpleAdapter:search_errors"} end end end
Version data entries
13 entries across 13 versions & 1 rubygems