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