Sha256: a5ed9151324691e51046808ce15d2c9701cbc397bd7593ffcc49ffbe6cb17dd8
Contents?: true
Size: 791 Bytes
Versions: 1
Compression:
Stored size: 791 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Fathom do context "when configuring Fathom" do after do Fathom.reset_config! end it "should have a config" do Fathom.config.should be_a(::Fathom::Config) end it "should be configured automatically to use a Hash for storage" do Fathom.config.storage.should eql(Hash) end it "should be able to set the storage" do Fathom.config.storage = :another_storage_option Fathom.config.storage.should eql(:another_storage_option) end it "should use the String extensions" do "test".should respond_to(:underscore) end it "should depend on UUID" do defined?(UUID).should be_true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fathom-0.5.0 | spec/fathom_spec.rb |