Sha256: fc30f5fdd5559f2802df0ab2b598485c5be725e1b92757008efa79033a55e6e9
Contents?: true
Size: 339 Bytes
Versions: 4
Compression:
Stored size: 339 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') describe Hamster::Stack do describe "#empty?" do it "initially returns true" do Hamster::Stack.new.should be_empty end it "returns false once items have been added" do Hamster::Stack.new.push("A").should_not be_empty end end end
Version data entries
4 entries across 4 versions & 1 rubygems