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

Version Path
vedeu-0.4.48 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.47 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.46 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.45 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.44 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.43 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.42 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.41 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.40 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.39 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.38 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.37 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.36 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.35 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.34 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.33 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.32 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.31 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.30 test/lib/vedeu/null/buffer_test.rb
vedeu-0.4.29 test/lib/vedeu/null/buffer_test.rb