Sha256: 4be7585a9a50308c82c679f3a24ccff7e49a41e73577c0abf92182f0c05c3d5e
Contents?: true
Size: 424 Bytes
Versions: 11
Compression:
Stored size: 424 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
11 entries across 11 versions & 2 rubygems