Sha256: 766fffdb597eb9e883f3d5d6b89f6993bf615ebfbe067009dff91bc4eb5f6027

Contents?: true

Size: 286 Bytes

Versions: 16

Compression:

Stored size: 286 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe String do

  describe '#underscore' do

    it 'should correctly add underscores to "AbcMetricMethodCheck"' do
      'AbcMetricMethodCheck'.underscore.should == 'abc_metric_method_check'
    end

  end

end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
simplabs-excellent-1.2.1 spec/extensions/string_spec.rb
simplabs-excellent-1.2.2 spec/extensions/string_spec.rb
simplabs-excellent-1.3.0 spec/extensions/string_spec.rb
simplabs-excellent-1.3.1 spec/extensions/string_spec.rb
simplabs-excellent-1.4.0 spec/extensions/string_spec.rb
simplabs-excellent-1.4.1 spec/extensions/string_spec.rb
simplabs-excellent-1.4.2 spec/extensions/string_spec.rb
simplabs-excellent-1.5.0 spec/extensions/string_spec.rb
simplabs-excellent-1.5.1 spec/extensions/string_spec.rb
simplabs-excellent-1.5.2 spec/extensions/string_spec.rb
simplabs-excellent-1.5.3 spec/extensions/string_spec.rb
excellent-1.7.2 spec/extensions/string_spec.rb
excellent-1.7.1 spec/extensions/string_spec.rb
excellent-1.7.0 spec/extensions/string_spec.rb
excellent-1.6.0 spec/extensions/string_spec.rb
excellent-1.5.4 spec/extensions/string_spec.rb