Sha256: c08a84f0072941afa9dd44db5f6c008e0bf70a69183830c63556dfeec31bec14

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

require 'spec_helper'

describe RakeMKV::CommandBuilder do
  describe '#build' do
    it 'adds minimum length from configuration' do
      RakeMKV.configure do |config|
        config.minimum_title_length = 5
      end

      full_command = RakeMKV::CommandBuilder.new("command").build

      expect(full_command).to eq "command --minlength=5"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rakemkv-0.2.0 spec/lib/rakemkv/command_builder_spec.rb