Sha256: eb7d82fc257648f21d35988c49c264355d42fd2c47d617663d51ffa4bdc23e63

Contents?: true

Size: 461 Bytes

Versions: 3

Compression:

Stored size: 461 Bytes

Contents

# frozen_string_literal: true

describe DDTelemetry::Table do
  let(:table) { described_class.new(rows) }

  let(:rows) do
    [
      %w[name awesomeness],
      %w[denis high],
      %w[REDACTED low],
    ]
  end

  example do
    expect(table.to_s).to eq(<<~TABLE.rstrip)
          name │ awesomeness
      ─────────┼────────────
         denis │        high
      REDACTED │         low
    TABLE
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ddtelemetry-1.0.0a3 spec/ddtelemetry/table_spec.rb
ddtelemetry-1.0.0a2 spec/ddtelemetry/table_spec.rb
ddtelemetry-1.0.0a1 spec/ddtelemetry/table_spec.rb