Skip to content

Commit

Permalink
Adds a default setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neighman committed Jun 22, 2008
1 parent faa516e commit 02dd3c6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/merb_cache_spec.rb
Expand Up @@ -30,6 +30,14 @@
Merb::Cache[:default].should be_a_kind_of(Merb::Cache::Store)
end

it "should not overwrite the existing object" do
Merb::Cache.setup_default
id = Merb::Cache[:default].object_id
Merb::Cache.setup_default
Merb::Cache[:default].object_id.should == id

end


end

Expand Down

0 comments on commit 02dd3c6

Please sign in to comment.