Sha256: fb428c07308d526296596bc2f42865f9a4857548d805c510f4f989d961a75a21
Contents?: true
Size: 448 Bytes
Versions: 14
Compression:
Stored size: 448 Bytes
Contents
require 'spec_helper' describe NetSuite::Records::PriceLevel do describe "#initialize" do it "behaves appropriately if it gets a hash as attributes[:pricing]" do # this is what savon returns if there is only one pricing strategy matrix # for the item: level = { :name => 'Base Price' } subject = NetSuite::Records::PriceLevel.new(level) expect(subject.name).to eq(level[:name]) end end end
Version data entries
14 entries across 14 versions & 1 rubygems