Sha256: e0710ea6eca2b3b2b622b7428c4a550eaa7033b047705fc529aefc652d042363
Contents?: true
Size: 580 Bytes
Versions: 5
Compression:
Stored size: 580 Bytes
Contents
require File.join(File.dirname(__FILE__), %w[spec_helper]) describe Loquacious do before(:all) do @root_dir = File.expand_path(File.join(File.dirname(__FILE__), '..')) end it "should report a version number" do Loquacious.version.should match(%r/\d+\.\d+\.\d+/) end it "finds things releative to 'lib'" do Loquacious.libpath(%w[loquacious config.rb]).should == File.join(@root_dir, %w[lib loquacious config.rb]) end it "finds things releative to 'root'" do Loquacious.path('Rakefile').should == File.join(@root_dir, 'Rakefile') end end # EOF
Version data entries
5 entries across 5 versions & 1 rubygems