Sha256: f4960b10a2c7bdb8f0993872e7f92c2b24ed3288badbc24368fbb5771ad52671
Contents?: true
Size: 441 Bytes
Versions: 16
Compression:
Stored size: 441 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Unparser::Buffer, '#indent' do let(:object) { described_class.new } subject { object.indent } it 'should indent with two spaces' do object.append('foo') object.nl object.indent object.append('bar') object.nl object.indent object.append('baz') expect(object.content).to eql("foo\n bar\n baz") end it_should_behave_like 'a command method' end
Version data entries
16 entries across 16 versions & 1 rubygems