Sha256: 42a779fc06cf4865ac696e4ee40067a08567c1d525218841b502c5e05e19df4a

Contents?: true

Size: 380 Bytes

Versions: 10

Compression:

Stored size: 380 Bytes

Contents

require 'spec_helper'

module Vim
  module Flavor
    describe StringExtension do
      describe '#zap' do
        it 'replace unsafe characters with "_"' do
          'fakeclip'.zap.should == 'fakeclip'
          'kana/vim-altr'.zap.should == 'kana_vim-altr'
          'git://example.com/foo.git'.zap.should == 'git___example.com_foo.git'
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
vim-flavor-1.1.5 spec/stringextension_spec.rb
vim-flavor-1.1.4 spec/stringextension_spec.rb
vim-flavor-1.1.3 spec/stringextension_spec.rb
vim-flavor-1.1.2 spec/stringextension_spec.rb
vim-flavor-1.1.1 spec/stringextension_spec.rb
vim-flavor-1.1.0 spec/stringextension_spec.rb
vim-flavor-1.0.3 spec/stringextension_spec.rb
vim-flavor-1.0.2 spec/stringextension_spec.rb
vim-flavor-1.0.1 spec/stringextension_spec.rb
vim-flavor-1.0.0 spec/stringextension_spec.rb