Sha256: b28149edd6ccc18b1a7dcd04a3856713da636e12a9c43e7f186d55a275cddb41
Contents?: true
Size: 243 Bytes
Versions: 3
Compression:
Stored size: 243 Bytes
Contents
describe Commander do describe String do it "should tokenize strings" do s = 'Welcome :name, enjoy your :object'.tokenize!({ :name => 'TJ', :object => 'cookie' }) s.should == 'Welcome TJ, enjoy your cookie' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
visionmedia-commander-2.4.3 | spec/core_ext_spec.rb |
visionmedia-commander-2.4.4 | spec/core_ext_spec.rb |
visionmedia-commander-2.4.6 | spec/core_ext_spec.rb |