spec/hamster/stack/copying_spec.rb in hamster-0.1.8 vs spec/hamster/stack/copying_spec.rb in hamster-0.1.11
- old
+ new
@@ -1,10 +1,10 @@
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
describe Hamster::Stack do
before do
- @stack = Hamster::Stack.new
+ @stack = Hamster.stack.push("A").push("B").push("C")
end
describe "#dup" do
it "returns self" do