Sha256: cd0ef0c6bcba6098de94228d54407768866acd5269f138d47f04a35dea56d3f7

Contents?: true

Size: 489 Bytes

Versions: 19

Compression:

Stored size: 489 Bytes

Contents

# frozen_string_literal: true

require 'eac_cli/runner_with/help/layout'

::RSpec.describe ::EacCli::RunnerWith::Help::Layout do
  describe '#list_section' do
    {
      ['Options', ['Option A', 'Option B']] => <<~TEXT
        Options:
          Option A
          Option B
      TEXT
    }.each do |source, expected|
      context "when source is #{source}" do
        it do
          expect(described_class.list_section(*source)).to eq(expected)
        end
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
eac_tools-0.76.0 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.75.2 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.75.1 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.75.0 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.74.1 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.74.0 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.73.0 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.72.0 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.70.1 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.70.0 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.69.1 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.69.0 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.68.0 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.67.1 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.67.0 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.66.0 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.65.1 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.65.0 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
eac_tools-0.64.0 sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb