Sha256: 245a0c9334630308121867b0faf793edbe8397a2f6a1a24788c7a81876e285e5
Contents?: true
Size: 332 Bytes
Versions: 16
Compression:
Stored size: 332 Bytes
Contents
# encoding: utf-8 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
16 entries across 16 versions & 1 rubygems