Sha256: 0716c8e1c6a8913177d769a533b8281c7bd89535acdd45d6bdca1adc23369e1b

Contents?: true

Size: 341 Bytes

Versions: 3

Compression:

Stored size: 341 Bytes

Contents

require 'test_helper'

require File.join(File.dirname(__FILE__), '..', '..', 'lib/cliutils/prefs/pref_behaviors/lowercase_behavior')

# Tests for the Configurator class
class TestLowercaseBehavior < Test::Unit::TestCase
  def test_evaluation
    v = CLIUtils::LowercaseBehavior.new
    assert_equal(v.evaluate('BaChYa'), 'bachya')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cliutils-2.1.4 test/behavior_tests/lowercase_behavior_test.rb
cliutils-2.1.3 test/behavior_tests/lowercase_behavior_test.rb
cliutils-2.1.2 test/behavior_tests/lowercase_behavior_test.rb