Sha256: 76b73cb30a14e10374bb554a7183c8df1212d19716c1220d521e5c7279af9ec3

Contents?: true

Size: 555 Bytes

Versions: 10

Compression:

Stored size: 555 Bytes

Contents

require 'spec_helper'

describe FuelSDK::Soap do

  let(:client) { FuelSDK::Client.new }
  subject {client}

  it 'has inflector support' do
    expect('Configurations'.singularize).to eq 'Configuration'
  end

  describe '#soap_configure' do
    it 'makes a soap configure request with message' do
      subject.should_receive(:create_action_message).with('Configurations', 'Subscriber', [], 'Do it').and_return({})
      subject.should_receive(:soap_request).with(:configure, {})
      subject.soap_configure 'Subscriber', [], 'Do it'
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fuelsdk-0.1.11 spec/soap/configure_spec.rb
fuelsdk-0.1.9 spec/soap/configure_spec.rb
fuelsdk-0.1.8 spec/soap/configure_spec.rb
fuelsdk-0.1.7 spec/soap/configure_spec.rb
fuelsdk-0.1.6 spec/soap/configure_spec.rb
fuelsdk-0.1.5 spec/soap/configure_spec.rb
fuelsdk-0.1.4 spec/soap/configure_spec.rb
fuelsdk-0.1.3 spec/soap/configure_spec.rb
fuelsdk-0.1.2 spec/soap/configure_spec.rb
fuelsdk-0.1.1 spec/soap/configure_spec.rb