public
Fork of ndemonner/stone
Description: Plug-and-play data persistence created for small Ruby web applications.
Homepage: http://stone.rubyforge.org
Clone URL: git://github.com/juretta/stone.git
Search Repo:
stone / spec / stone_spec.rb
100644 12 lines (10 sloc) 0.329 kb
1
2
3
4
5
6
7
8
9
10
11
12
require File.join(File.dirname(__FILE__), "spec_helper")
 
describe Stone do
  before(:all) do
    get_resources
    Stone.start(STONE_ROOT/"sandbox_for_specs", @resources)
  end
  
  it "should create a new, blank datastore at a given path" do
    File.exists?(STONE_ROOT/"sandbox_for_specs"/"datastore").should be_true
  end
end