machinist 2.0.0.beta2 → 2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +0,0 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
2
-
3
- describe Machinist::Warehouse do
4
-
5
- it "should store and retrieve values" do
6
- warehouse = Machinist::Warehouse.new
7
- warehouse[1, 2] = "example"
8
- warehouse[1, 2].should == "example"
9
- end
10
-
11
- it "should return an empty array for a new key" do
12
- warehouse = Machinist::Warehouse.new
13
- warehouse[1, 2].should == []
14
- warehouse[3, 4] << "example"
15
- warehouse[3, 4].should == ["example"]
16
- end
17
-
18
- it "should clone" do
19
- warehouse = Machinist::Warehouse.new
20
- warehouse[1, 2] = "example"
21
- warehouse.clone.should == warehouse
22
- end
23
-
24
- end