Sha256: 019b69d5e229331ca1434cf953b4e16b9791d57194c42253ed3813b912fbc070

Contents?: true

Size: 346 Bytes

Versions: 7

Compression:

Stored size: 346 Bytes

Contents

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

describe CLIUtils::LowercaseBehavior do
  it 'lowercases its input' do
    b = CLIUtils::LowercaseBehavior.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/lowercase_behavior_spec.rb
cliutils-2.2.5 spec/behavior/lowercase_behavior_spec.rb
cliutils-2.2.4 spec/behavior/lowercase_behavior_spec.rb
cliutils-2.2.3 spec/behavior/lowercase_behavior_spec.rb
cliutils-2.2.2 spec/behavior/lowercase_behavior_spec.rb
cliutils-2.2.1 spec/behavior/lowercase_behavior_spec.rb
cliutils-2.2.0 spec/behavior/lowercase_behavior_spec.rb