Sha256: c69d6a6334d89d0d8d1c535b7ad907c7909cf4249f48b4ace19d1bface5fe3d8

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/uppercase_behavior')

# Tests for the Configurator class
class TestUppercaseBehavior < Test::Unit::TestCase
  def test_evaluation
    v = CLIUtils::UppercaseBehavior.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/uppercase_behavior_test.rb
cliutils-2.1.3 test/behavior_tests/uppercase_behavior_test.rb
cliutils-2.1.2 test/behavior_tests/uppercase_behavior_test.rb