Sha256: 66fa79f038fe0a079739267ab6c2c59ff1dd6e1aba4a780daac8c36704a432cf
Contents?: true
Size: 419 Bytes
Versions: 3
Compression:
Stored size: 419 Bytes
Contents
require 'spec_helper' describe AQL::Buffer, '#content' do let(:object) { described_class.new } subject { object.content } context 'when empty' do it { should eql('') } its(:frozen?) { should be(true) } end context 'when something was emitted' do before do object.append('foo').append('bar') end it { should eql('foobar') } its(:frozen?) { should be(true) } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aql-0.0.3 | spec/unit/aql/buffer/content_spec.rb |
aql-0.0.2 | spec/unit/aql/buffer/content_spec.rb |
aql-0.0.1 | spec/unit/aql/buffer/content_spec.rb |