Sha256: 934b019a6b0e87b8c3266e795e23923948e3264edf92b417d2db712422530380

Contents?: true

Size: 240 Bytes

Versions: 12

Compression:

Stored size: 240 Bytes

Contents

require 'spec_helper'

describe Monolens, 'str.upcase' do
  subject do
    Monolens.lens('str.upcase')
  end

  it 'converts to uppercase' do
    input = 'foo'
    expected = 'FOO'
    expect(subject.call(input)).to eql(expected)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
monolens-0.6.4 spec/monolens/stdlib/str/test_upcase.rb
monolens-0.6.3 spec/monolens/stdlib/str/test_upcase.rb
monolens-0.6.2 spec/monolens/stdlib/str/test_upcase.rb
monolens-0.6.1 spec/monolens/stdlib/str/test_upcase.rb
monolens-0.6.0 spec/monolens/stdlib/str/test_upcase.rb
monolens-0.5.3 spec/monolens/str/test_upcase.rb
monolens-0.5.2 spec/monolens/str/test_upcase.rb
monolens-0.5.1 spec/monolens/str/test_upcase.rb
monolens-0.5.0 spec/monolens/str/test_upcase.rb
monolens-0.4.0 spec/monolens/str/test_upcase.rb
monolens-0.3.0 spec/monolens/str/test_upcase.rb
monolens-0.2.0 spec/monolens/str/test_upcase.rb