Sha256: 70893ced632356c193aac4e1e2f401d60e22042d09dbd8affcd9ecc9fbe54f18
Contents?: true
Size: 422 Bytes
Versions: 14
Compression:
Stored size: 422 Bytes
Contents
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
14 entries across 14 versions & 1 rubygems