Sha256: 104860f460b7e10b21442d46b3967e9303602657ed9a2a847de6c12a87688099

Contents?: true

Size: 470 Bytes

Versions: 17

Compression:

Stored size: 470 Bytes

Contents

require 'spec_helper'

describe Bones do

  before :all do
    @root_dir = File.expand_path(File.join(File.dirname(__FILE__), '..'))
  end

  it "finds things releative to 'root'" do
    Bones.path(%w[lib bones helpers]).
        should == File.join(@root_dir, %w[lib bones helpers])
  end

  it "finds things releative to 'lib'" do
    Bones.libpath(%w[bones helpers]).
        should == File.join(@root_dir, %w[lib bones helpers])
  end

end  # describe Bones

# EOF

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
bones-3.7.3 spec/bones_spec.rb
bones-3.7.2 spec/bones_spec.rb
bones-3.7.1 spec/bones_spec.rb
bones-3.7.0 spec/bones_spec.rb
bones-3.6.5 spec/bones_spec.rb
bones-3.6.4 spec/bones_spec.rb
bones-3.6.2 spec/bones_spec.rb
bones-3.6.1 spec/bones_spec.rb
bones-3.6.0 spec/bones_spec.rb
bones-3.5.5 spec/bones_spec.rb
bones-3.5.4 spec/bones_spec.rb
bones-3.5.3 spec/bones_spec.rb
bones-3.5.2 spec/bones_spec.rb
bones-3.5.1 spec/bones_spec.rb
bones-3.5.0 spec/bones_spec.rb
bones-3.4.7 spec/bones_spec.rb
bones-3.4.6 spec/bones_spec.rb