Sha256: 103d10f6d8dd73a1104071216039b3e411c0cab387d2787aad726a3589b22dda

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

describe GitQuickBooks::CommitMsgCleaner do
  let(:msgs) do
    [
      'I am the first message',
      '',
      nil,
      'I am the last. ',
      'i skipped [ci-skip]',
      'i wish i was capitalized correctly'
    ]
  end

  subject(:subject) { described_class.new(msgs) }
  it 'string' do
    expect(subject.call).to eql("I am the first message
I am the last
I skipped
I wish i was capitalized correctly")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitquickbooks-0.0.1 spec/commit_msg_cleaner_spec.rb