Sha256: 3d8868ca055bf3fbd06438946457dbc6c9bc73a95575fb186d62e78fb6201630
Contents?: true
Size: 510 Bytes
Versions: 4
Compression:
Stored size: 510 Bytes
Contents
require 'spec_helper' module Alf describe Tuple, '.==' do let(:type){ Tuple[name: String, status: Integer] } subject{ type == other } context 'with itself' do let(:other){ type } it{ should be_true } end context 'with another equivalent' do let(:other){ Tuple[name: String, status: Integer] } it{ should be_true } end context 'with another, non equivalent' do let(:other){ Tuple[name: String] } it{ should be_false } end end end
Version data entries
4 entries across 4 versions & 1 rubygems