Sha256: 6ae9fcd44a51a0c774b5e74bb6932d104c747fe7839321fc50fadbc3b27d5bbf
Contents?: true
Size: 386 Bytes
Versions: 19
Compression:
Stored size: 386 Bytes
Contents
require 'spec_helper' describe Unparser::Buffer, '#unindent' do let(:object) { described_class.new } subject { object.unindent } it 'unindents two chars' do object.append('foo') object.indent object.append('bar') object.unindent object.append('baz') expect(object.content).to eql("foo\n bar\nbaz") end it_should_behave_like 'a command method' end
Version data entries
19 entries across 19 versions & 1 rubygems