Sha256: 601c7c2924add4c060b6cc0104c616f0197b704898e2ccada85a1e6179c71a95
Contents?: true
Size: 461 Bytes
Versions: 15
Compression:
Stored size: 461 Bytes
Contents
require File.join(File.dirname(__FILE__),'..','api_helper') describe "RhoconnectApiDeleteClient" do include_examples "ApiHelper" it "should delete client for the user" do delete "/rc/#{Rhoconnect::API_VERSION}/users/#{@u_fields[:login]}/clients/#{@c.id}", {}, {Rhoconnect::API_TOKEN_HEADER => @api_token} last_response.should be_ok Client.is_exist?(@c.id).should == false User.load(@u_fields[:login]).clients.members.should == [] end end
Version data entries
15 entries across 15 versions & 1 rubygems