Sha256: 9a62b68e70841c38105b2f4f6d87f8abdc1c20343b15c214e2eea34e3b5fd259
Contents?: true
Size: 978 Bytes
Versions: 14
Compression:
Stored size: 978 Bytes
Contents
require 'test_helper' module Vedeu module Null describe Interface do let(:described) { Vedeu::Null::Interface } let(:instance) { described.new(_name) } let(:_name) {} describe '#initialize' do it { instance.must_be_instance_of(described) } it { instance.instance_variable_get('@name').must_equal(_name) } end describe '#attributes' do subject { instance.attributes } it { subject.must_be_instance_of(Hash) } end describe '#store' do subject { instance.store } it { subject.must_be_instance_of(Vedeu::Null::Interface) } end describe '#visible?' do subject { instance.visible? } it { subject.must_be_instance_of(FalseClass) } end describe '#visible=' do subject { instance.visible=(:irrelevant) } # it { subject.must_be_instance_of(FalseClass) } end end # Interface end # Null end # Vedeu
Version data entries
14 entries across 14 versions & 1 rubygems