Sha256: fd25018600e94d081e4b5288de21479130fbac7741a5c91dba1baf64616bb3e0
Contents?: true
Size: 431 Bytes
Versions: 36
Compression:
Stored size: 431 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') class MThingy class NThingy end end describe Dataset::Record::Meta, 'finder name' do it 'should collapse single character followed by underscore to just the single character' do @meta = Dataset::Record::Meta.new(Place) @meta.finder_name(MThingy).should == 'mthingy' @meta.finder_name(MThingy::NThingy).should == 'mthingy_nthingy' end end
Version data entries
36 entries across 36 versions & 4 rubygems