Sha256: 4c6bb677eeda1f0c87ddb2eea89c2bf7e72d060dd4adffd2dc4445b4d7415345
Contents?: true
Size: 429 Bytes
Versions: 4
Compression:
Stored size: 429 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '../../../spec_helper') describe AppDiagram do describe 'file name processing' do it 'should extract a simple name' do ad = AppDiagram.new name = ad.instance_eval {extract_class_name('app/models/test_this.rb')} name.must_equal 'TestThis' end it 'should constantize a name' do 'String'.constantize.must_equal String end end end
Version data entries
4 entries across 4 versions & 1 rubygems