Sha256: 5d1bfbd7c783caa3bb388692cc04b58cb68f4108e542eda3a8a803a9427b49d0
Contents?: true
Size: 552 Bytes
Versions: 3
Compression:
Stored size: 552 Bytes
Contents
require File.dirname(__FILE__) + '/spec' class ExtensionSpec < Spec context '#stash' do should 'return a stash object with the correct name' do s = stash(:a) assert_instance_of Stash, s assert_equal :a, s.name end should 'return the same object when given the same name' do assert_equal stash(:b), stash(:b) assert_not_equal stash(:a), stash(:b) end should 'allow access to a default root stash' do assert_equal stash, stash(:root) assert_equal :root, stash.name end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
binary42-remix-stash-0.9.0 | spec/extension_spec.rb |
binary42-remix-stash-0.9.1 | spec/extension_spec.rb |
binary42-remix-stash-0.9.2 | spec/extension_spec.rb |