Sha256: 15c4fd3489012ca12c5d529c1b5dfa9d4de3f4607b403e1f611dcc6b65c463a1
Contents?: true
Size: 445 Bytes
Versions: 6
Compression:
Stored size: 445 Bytes
Contents
require "spec_helper" shared_examples "a RequestEnvelope" do let(:request) { described_class.new(:detail_level => "ReturnAll") } let(:json) { JSON.parse(request.to_json) } it "maps #detail_level to ['requestEnvelope']['detailLevel']" do json["requestEnvelope"]["detailLevel"].should == "ReturnAll" end it "includes 'en_US' as the ['errorLanguage']" do json["requestEnvelope"]["errorLanguage"].should == "en_US" end end
Version data entries
6 entries across 6 versions & 1 rubygems