Sha256: def7981cb12d321451e1c4d3dbfbfb17fd973402daf7b1c5319a513bc8ee518b
Contents?: true
Size: 488 Bytes
Versions: 21
Compression:
Stored size: 488 Bytes
Contents
require File.join(File.dirname(__FILE__),'..','api_helper') describe "RhoconnectApiDeleteClient" do it_should_behave_like "ApiHelper" do 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 end
Version data entries
21 entries across 21 versions & 1 rubygems