TwP / bones

Mr Bones is a handy tool that creates new projects from a code skeleton

bones / spec / bones_spec.rb
100644 19 lines (12 sloc) 0.38 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require File.expand_path(
    File.join(File.dirname(__FILE__), '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 debug]).
        should == File.join(@root_dir, %w[lib bones debug])
  end
    
end # describe Bones
 
# EOF