Sha256: 0d2f94f8b46a3103902b967af53884cd834af9cdab912aa65ff60098ea757a16

Contents?: true

Size: 586 Bytes

Versions: 13

Compression:

Stored size: 586 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

13 entries across 13 versions & 2 rubygems

Version Path
TwP-loquacious-1.0.0 spec/loquacious_spec.rb
TwP-loquacious-1.1.0 spec/loquacious_spec.rb
TwP-loquacious-1.1.1 spec/loquacious_spec.rb
TwP-loquacious-1.3.0 spec/loquacious_spec.rb
loquacious-1.4.2 spec/loquacious_spec.rb
loquacious-1.4.1 spec/loquacious_spec.rb
loquacious-1.4.0 spec/loquacious_spec.rb
loquacious-1.3.1 spec/loquacious_spec.rb
loquacious-1.1.1 spec/loquacious_spec.rb
loquacious-1.1.0 spec/loquacious_spec.rb
loquacious-1.0.0 spec/loquacious_spec.rb
loquacious-1.2.0 spec/loquacious_spec.rb
loquacious-1.3.0 spec/loquacious_spec.rb