Sha256: 45a6614d9261e2ccd1688adcb227bd8bd620480d519b0e2d60dbff73dc8df02b

Contents?: true

Size: 943 Bytes

Versions: 22

Compression:

Stored size: 943 Bytes

Contents

require File.join(File.dirname(__FILE__),'..','api_helper')

describe "RhoconnectApiDeleteUser" do
  it_should_behave_like "ApiHelper" do 
    
    it "should save adapter url" do
      params = {:api_token => @api_token,
        :attributes => {:adapter_url => 'http://test.com'}}
      post "/api/source/save_adapter", params
      last_response.should be_ok
    end
    
    it "should get adapter url" do
      params = {:api_token => @api_token,
        :attributes => {:adapter_url => 'http://test.com'}}
      post "/api/source/get_adapter", params
      last_response.should be_ok
    end
    
    it "should get check deprecation warning in /api/get_adapter" do
      params = {:api_token => @api_token,
        :attributes => {:adapter_url => 'http://test.com'}}
      post "/api/get_adapter", params
      last_response.should be_ok
      last_response.headers["Warning"].index('deprecated').should_not == nil
    end
  end  
 
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
rhoconnect-3.2.1 spec/api/source/adapter_spec.rb
rhoconnect-3.2.0 spec/api/source/adapter_spec.rb
rhoconnect-3.2.0.beta5 spec/api/source/adapter_spec.rb
rhoconnect-3.2.0.beta4 spec/api/source/adapter_spec.rb
rhoconnect-3.2.0.beta3 spec/api/source/adapter_spec.rb
rhoconnect-3.2.0.beta2 spec/api/source/adapter_spec.rb
rhoconnect-3.2.0.beta1 spec/api/source/adapter_spec.rb
rhoconnect-3.1.2 spec/api/source/adapter_spec.rb
rhoconnect-3.1.1 spec/api/source/adapter_spec.rb
rhoconnect-3.1.0 spec/api/source/adapter_spec.rb
rhoconnect-3.1.0.beta2 spec/api/source/adapter_spec.rb
rhoconnect-3.1.0.beta1 spec/api/source/adapter_spec.rb
rhoconnect-3.0.6 spec/api/source/adapter_spec.rb
rhoconnect-3.0.5 spec/api/source/adapter_spec.rb
rhoconnect-3.0.4 spec/api/source/adapter_spec.rb
rhoconnect-3.0.3 spec/api/source/adapter_spec.rb
rhoconnect-3.0.2 spec/api/source/adapter_spec.rb
rhoconnect-3.0.1 spec/api/source/adapter_spec.rb
rhoconnect-3.0.0 spec/api/source/adapter_spec.rb
rhoconnect-3.0.0.rc1 spec/api/source/adapter_spec.rb