Sha256: e5b20ff925d70078674dffda78f24772090f031750d735cf5e513feb69fab7a3

Contents?: true

Size: 359 Bytes

Versions: 44

Compression:

Stored size: 359 Bytes

Contents

require 'spec_helper'

module Skellington
  describe Skellington do
    it 'camelises a worm_case string' do
      expect(Skellington.camelise 'worm_case').to eq 'WormCase'
    end

    it 'removes a leading ./' do
      expect(Skellington.unslash './word').to eq 'word'
      expect(Skellington.unslash 'another_word').to eq 'another_word'
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
skellington-0.8.9 spec/skellington_spec.rb
skellington-0.8.8 spec/skellington_spec.rb
skellington-0.8.7 spec/skellington_spec.rb
skellington-0.8.6 spec/skellington_spec.rb
skellington-0.8.5 spec/skellington_spec.rb
skellington-0.8.4 spec/skellington_spec.rb
skellington-0.8.3 spec/skellington_spec.rb
skellington-0.8.2 spec/skellington_spec.rb
skellington-0.8.1 spec/skellington_spec.rb
skellington-0.8.0 spec/skellington_spec.rb
skellington-0.7.5 spec/skellington_spec.rb
skellington-0.7.4 spec/skellington_spec.rb
skellington-0.7.3 spec/skellington_spec.rb
skellington-0.7.2 spec/skellington_spec.rb
skellington-0.7.0 spec/skellington_spec.rb
skellington-0.6.2 spec/skellington_spec.rb
skellington-0.6.1 spec/skellington_spec.rb
skellington-0.5.2 spec/skellington_spec.rb
skellington-0.5.1 spec/skellington_spec.rb
skellington-0.5.0 spec/skellington_spec.rb