Sha256: 5da6193145eb8e9e64e5a69d7809686bcc626ce47bdc9fb21b741bad65377764
Contents?: true
Size: 414 Bytes
Versions: 17
Compression:
Stored size: 414 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.nl object.indent object.append('bar') object.nl 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
17 entries across 17 versions & 1 rubygems