Sha256: e3515e318a70689cf5b0c29201cc384f8b77d9554470013324f0e6340ab42608

Contents?: true

Size: 367 Bytes

Versions: 3

Compression:

Stored size: 367 Bytes

Contents

require 'test_helper'

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

# Tests for the Configurator class
class TestTitlecaseBehavior < Test::Unit::TestCase
  def test_evaluation
    v = CLIUtils::TitlecaseBehavior.new
    assert_equal(v.evaluate('my sentence is here'), 'My Sentence Is Here')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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