Sha256: c650ab45be4718e31487ab6367bb284ac6ea02a41e4f03444a6c8392121d3300
Contents?: true
Size: 451 Bytes
Versions: 1
Compression:
Stored size: 451 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') describe Hamster::Stack do [:dup, :clone].each do |method| [ [], ["A"], ["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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hamster-0.1.14 | spec/hamster/stack/copying_spec.rb |