Sha256: ec948f5aa0c76a11b535f05c1648d99015faf886ac2fc6d1bfeabbb111196ccb
Contents?: true
Size: 252 Bytes
Versions: 1
Compression:
Stored size: 252 Bytes
Contents
require 'spec_helper' describe Either do it 'can have a left part' do either = Left[:cats] either.left.value.should eq :cats end it 'can have a right part' do either = Right[:cats] either.right.value.should eq :cats end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
either-0.0.2 | spec/lib/either_spec.rb |