Sha256: f7da68b7b2be243ee2dfc090e0a19fb5c3d84ec86e63847167b5fba9be147695
Contents?: true
Size: 455 Bytes
Versions: 1
Compression:
Stored size: 455 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 expect(json["requestEnvelope"]["detailLevel"]).to eq("ReturnAll") end it "includes 'en_US' as the ['errorLanguage']" do expect(json["requestEnvelope"]["errorLanguage"]).to eq("en_US") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
creative-pp-adaptive-1.1.1 | spec/shared/a_request_envelope.rb |