Sha256: 4ac540be2d21aa9f7acd5306fd535344fb16832d1a176e6a89b22d196765b406

Contents?: true

Size: 361 Bytes

Versions: 3

Compression:

Stored size: 361 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper'

class ClientTest < Test::Unit::TestCase
  include Shoppr
  
  context "When performing general search" do
    setup { @client = Shoppr::Client.new(true) }
    
    should "get the api version" do
      stub_get '/', 'generic_response.xml'
      @client.api_version.should == '3.1 R21.4'
    end

  end
  

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shoppr-0.2.3 test/shoppr/client_test.rb
shoppr-0.1.1 test/shoppr/client_test.rb
shoppr-0.1.0 test/shoppr/client_test.rb