Sha256: a5abfa4b63b16829fcc10bc3b44eee50efac3f25718a34ae693c4a4667a2649c
Contents?: true
Size: 419 Bytes
Versions: 1
Compression:
Stored size: 419 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.should == 'TestThis' end it 'should constantize a name' do 'String'.constantize.should == String end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tobias-railroad-0.10.0 | spec/app_diagram_spec.rb |