Sha256: 87c872d3fc214438b605e86055a7544c1142d0e8a55133679099c1837ea7e88e
Contents?: true
Size: 444 Bytes
Versions: 1
Compression:
Stored size: 444 Bytes
Contents
# frozen_string_literal: true RSpec.describe NBTUtils::TagName do subject(:tag_name) { described_class.new } describe '#value' do it 'returns the data value' do expect(tag_name.value).to eq('') tag_name.data = 'foo' expect(tag_name.value).to eq('foo') end end describe '#value=' do it 'returns the data value' do tag_name.value = 'marf' expect(tag_name.data).to eq('marf') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nbt_utils-0.5.0 | spec/nbt_utils/tag_name_spec.rb |