Sha256: d6b2a3d05755db08658f4fa260ee4cece8a62de61a061ccb43f7f85f9125e2a5
Contents?: true
Size: 460 Bytes
Versions: 22
Compression:
Stored size: 460 Bytes
Contents
require File.join(File.dirname(__FILE__),'..','api_helper') describe "RhoconnectApiDeleteUser" do it_should_behave_like "ApiHelper" do it "should delete client" do post "/api/client/delete_client", {:api_token => @api_token, :user_id => @u_fields[:login], :client_id => @c.id} 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
22 entries across 22 versions & 1 rubygems