Sha256: f979ad13bc600f4ef5611f07d1609725fc25d3454908cab50b270636e93015ff
Contents?: true
Size: 313 Bytes
Versions: 36
Compression:
Stored size: 313 Bytes
Contents
require 'spec_helper' describe Unparser::Buffer, '#nl' do let(:object) { described_class.new } subject { object.nl } it 'writes a newline' do object.append('foo') subject object.append('bar') expect(object.content).to eql("foo\nbar") end it_should_behave_like 'a command method' end
Version data entries
36 entries across 36 versions & 1 rubygems