Sha256: f2f3df0d82a96d051741f4ca63c4b72bc89684499e25f7f24d886378153f91a2
Contents?: true
Size: 521 Bytes
Versions: 4
Compression:
Stored size: 521 Bytes
Contents
require 'spec_helper' module Alf describe Relation, '==' do let(:type){ Relation[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){ Relation[name: String, status: Integer] } it{ should be_true } end context 'with another, non equivalent' do let(:other){ Relation[name: String] } it{ should be_false } end end end
Version data entries
4 entries across 4 versions & 1 rubygems