spec/hamster/stack/copying_spec.rb in hamster-1.0.1.pre.rc.1 vs spec/hamster/stack/copying_spec.rb in hamster-1.0.1.pre.rc2
- old
+ new
@@ -1,31 +1,23 @@
require "spec_helper"
-
require "hamster/stack"
describe Hamster::Stack do
-
[:dup, :clone].each do |method|
-
[
[],
["A"],
%w[A B C],
].each do |values|
describe "on #{values.inspect}" do
-
before do
@stack = Hamster.stack(*values)
end
it "returns self" do
@stack.send(method).should equal(@stack)
end
-
end
-
end
-
end
-
-end
+end
\ No newline at end of file