Sha256: c39d5ac0a0b872a56ba70be6480ade471efff353ddf23cb64496db857ff95f42
Contents?: true
Size: 384 Bytes
Versions: 6
Compression:
Stored size: 384 Bytes
Contents
require 'rubygems' require 'require_relative' if RUBY_VERSION < '1.9' require_relative 'common' describe Address do before do @address = Address.new(:id => 'adr1', :instance_id => 'inst1') end it 'should tell if it is associated to instance' do @address.associated?.must_equal true @address.instance_id = nil @address.associated?.must_equal false end end
Version data entries
6 entries across 6 versions & 1 rubygems