Sha256: c5e75d708b9fe13e137eef39cec6bec06c05cc65dc6f295ca304f55e7757b45d

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 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

2 entries across 2 versions & 1 rubygems

Version Path
simplabs-excellent-1.0.0 spec/core/extensions/underscore_spec.rb
simplabs-excellent-1.0.1 spec/core/extensions/underscore_spec.rb