Sha256: 39f4fd8a2244a054e5b405b35cad8aa6413a498ff3323ba01107621fbc1b3d8f

Contents?: true

Size: 448 Bytes

Versions: 1

Compression:

Stored size: 448 Bytes

Contents

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

class GenericResponseTest < Test::Unit::TestCase
  include Shoppr
  
  context "When mapping generic response XML to ruby objects" do
    setup { @response = Shoppr::Client.new(true).generic_response }
    
    should "include server detail information" do
      @response.server_detail.api_version.should == '3.1 R21.4'
      @response.server_detail.api_env.should == 'sandbox'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoppr-0.2.3 test/shoppr/generic_response_test.rb