Sha256: 4939414148dcc9822ff5545456df8a41d7fe4d073ea1fed9fc22c4a5773ea210

Contents?: true

Size: 244 Bytes

Versions: 12

Compression:

Stored size: 244 Bytes

Contents

require 'spec_helper'

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

  it 'converts to lowercase' 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_downcase.rb
monolens-0.6.3 spec/monolens/stdlib/str/test_downcase.rb
monolens-0.6.2 spec/monolens/stdlib/str/test_downcase.rb
monolens-0.6.1 spec/monolens/stdlib/str/test_downcase.rb
monolens-0.6.0 spec/monolens/stdlib/str/test_downcase.rb
monolens-0.5.3 spec/monolens/str/test_downcase.rb
monolens-0.5.2 spec/monolens/str/test_downcase.rb
monolens-0.5.1 spec/monolens/str/test_downcase.rb
monolens-0.5.0 spec/monolens/str/test_downcase.rb
monolens-0.4.0 spec/monolens/str/test_downcase.rb
monolens-0.3.0 spec/monolens/str/test_downcase.rb
monolens-0.2.0 spec/monolens/str/test_downcase.rb