Sha256: 6be69b8398877361eda6690a86ba2adbc29f1f200e285113ba72a22e53d8e4b2

Contents?: true

Size: 281 Bytes

Versions: 4

Compression:

Stored size: 281 Bytes

Contents

require 'spec_helper'

describe Space2underscore do
  it 'returns underscore included in string' do
    expect(Space2underscore.convert(['fuga hoge foo'])).to include('_') # String case
    expect(Space2underscore.convert(%w(fuga hoge foo))).to include('_') # Array case
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
space2underscore-0.3.6 spec/space2underscore_spec.rb
space2underscore-0.3.5 spec/space2underscore_spec.rb
space2underscore-0.3.4 spec/space2underscore_spec.rb
space2underscore-0.3.3 spec/space2underscore_spec.rb