Sha256: 4d4564f6c1bbb18a1594a53d7ce7ba7973707c9249231c21acca9099547b4454
Contents?: true
Size: 435 Bytes
Versions: 1
Compression:
Stored size: 435 Bytes
Contents
require 'spec_helper' module SpreeSignifyd describe DeliveryAddressSerializer do let(:delivery_address) { create(:address) } let(:serialized_address) { JSON.parse(DeliveryAddressSerializer.new(delivery_address).to_json) } context "node values" do it { expect(serialized_address).to include 'deliveryAddress' } it { expect(serialized_address['fullName']).to eq delivery_address.full_name } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_signifyd-1.1.0 | spec/serializers/spree_signifyd/delivery_address_serializer_spec.rb |