Sha256: c916d8accbc2e3028b820d5441d2cbb83101b91c2536d93851ba303f215d5606
Contents?: true
Size: 357 Bytes
Versions: 8
Compression:
Stored size: 357 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper.rb' describe RandomText do it "should create RandomText objects for each text file" do Dir.glob(File.join(File.dirname(__FILE__), '..', 'resources', '*.txt')) do |path| RandomText.const_get(File.basename(path, File.extname(path)).classify).class.should == RandomText::RandomText end end end
Version data entries
8 entries across 8 versions & 1 rubygems