0
0
Fork 0
polecat/spec/storage/hash_storage/new_spec.rb

11 lines
343 B
Ruby

require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
require 'polecat/storage/hash_storage'
describe "HashStorage#new" do
it "creates a new storage object" do
s = Polecat::Storage::HashStorage.new
s.kind_of?(Polecat::Storage::Storage).should == true
s.class.should be(Polecat::Storage::HashStorage)
end
end