Sha256: edbfdb5244b1297e642151ac8bc77a8a60ae04ab94150c18271f0f9eed6e2c52

Contents?: true

Size: 350 Bytes

Versions: 7

Compression:

Stored size: 350 Bytes

Contents

require_relative '../spec_helper'
require 'cliutils/messaging'
require 'cliutils/prefs/pref_behaviors/pref_behavior'
require 'cliutils/prefs/pref_behaviors/capitalize_behavior'

describe CLIUtils::CapitalizeBehavior do
  it 'capitalizes its input' do
    b = CLIUtils::CapitalizeBehavior.new
    expect(b.evaluate('bachya')).to eq('Bachya')
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cliutils-2.2.6 spec/behavior/capitalize_behavior_spec.rb
cliutils-2.2.5 spec/behavior/capitalize_behavior_spec.rb
cliutils-2.2.4 spec/behavior/capitalize_behavior_spec.rb
cliutils-2.2.3 spec/behavior/capitalize_behavior_spec.rb
cliutils-2.2.2 spec/behavior/capitalize_behavior_spec.rb
cliutils-2.2.1 spec/behavior/capitalize_behavior_spec.rb
cliutils-2.2.0 spec/behavior/capitalize_behavior_spec.rb