Sha256: d74f4998f757ea8e6515a38b4e6681d0af8b1e701fe804e7e616661484585f4d
Contents?: true
Size: 248 Bytes
Versions: 1
Compression:
Stored size: 248 Bytes
Contents
require 'spec_helper' describe Stack do before do @stack = Stack.new end it "should be initially empty" do @stack.empty?.should be_true end it "can contain an object" do @stack.push(1) @stack.pop.should == 1 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
opal-spec-0.3.2 | example/spec/stack_spec.rb |