Sha256: ee215a3d025d173a5c154646dd00abd7b424027b1b7ff14eab61e5df530c454b
Contents?: true
Size: 418 Bytes
Versions: 3
Compression:
Stored size: 418 Bytes
Contents
require 'spec_helper' describe Space2underscore do it 'Successful execution' do expect(Space2underscore.convert(['fuga hoge foo'])).to include('_') # String case expect(Space2underscore.convert(%w(fuga hoge foo))).to include('_') # Array case end it 'Successful copied' do expect(Space2underscore.generate_command('fuga_hoge_foo')).to eq("echo fuga_hoge_foo | ruby -pe 'chomp' | pbcopy") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
space2underscore-0.1.7 | spec/space2underscore_spec.rb |
space2underscore-0.1.6 | spec/space2underscore_spec.rb |
space2underscore-0.1.5 | spec/space2underscore_spec.rb |