Sha256: 750ee4735cd2e60043e0cc5a114e63e5ef500104d42341636af6574b5a0a2316
Contents?: true
Size: 644 Bytes
Versions: 17
Compression:
Stored size: 644 Bytes
Contents
require 'pio/open_flow13/write_metadata' describe Pio::WriteMetadata do describe '.new' do When(:write_metadata) { Pio::WriteMetadata.new(options) } context 'with metadata: 1' do Given(:options) do { metadata: 0x1 } end Then { write_metadata.metadata == 1 } Then { write_metadata.metadata_mask == 0 } end context 'with metadata: 1, metadata_mask: 1' do Given(:options) do { metadata: 0x1, metadata_mask: 0x1 } end Then { write_metadata.metadata == 1 } Then { write_metadata.metadata_mask == 1 } end end end
Version data entries
17 entries across 17 versions & 1 rubygems