Sha256: 9c2b960518fcc9c3e8edf778f2f849351a2eb1e5e0824ee536203aec73dcb918

Contents?: true

Size: 257 Bytes

Versions: 1

Compression:

Stored size: 257 Bytes

Contents

require 'spec_helper'

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
space2dash-0.0.4 spec/space2dash_spec.rb