Sha256: 596002ed5ceca4e2eddf0d945eaf1c4a73cfa9d08fafb885475ef1ab569ee8a4
Contents?: true
Size: 931 Bytes
Versions: 29
Compression:
Stored size: 931 Bytes
Contents
require 'test_helper' module Vedeu module Null describe Buffer do let(:described) { Vedeu::Null::Buffer } let(:instance) { described.new(_name) } let(:_name) { 'null_buffer' } describe '#initialize' do it { instance.must_be_instance_of(described) } it { instance.instance_variable_get('@name').must_equal(_name) } end describe '#clear' do subject { instance.clear } it { subject.must_be_instance_of(NilClass) } end describe '#hide' do subject { instance.hide } it { subject.must_be_instance_of(NilClass) } end describe '#render' do subject { instance.render } it { subject.must_be_instance_of(NilClass) } end describe '#show' do subject { instance.show } it { subject.must_be_instance_of(NilClass) } end end # Buffer end # Null end # Vedeu
Version data entries
29 entries across 29 versions & 1 rubygems