Sha256: a30485f0c587f6e8ba42c95c999dbb924611ddc86635fc6e4e00c2398d2727f1

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

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