Sha256: f7bafcb4876ee5e5ce4013f088c6d509bf774ddf90b94e582d819825a3a7edb6
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
require 'test_helper' module Vedeu # TODO: Leak detected. (GL 2015-01-28) describe Compositor do let(:described) { Vedeu::Compositor } let(:instance) { described.new(_name) } let(:_name) { 'compositor' } let(:buffer) { Buffer.new(_name, interface) } let(:interface) { Vedeu.interface(_name) do border! geometry do height 5 width 10 end lines do line 'Some text.' end end } before do IO.console.stubs(:print) Vedeu.buffers.reset Vedeu.interfaces.reset Buffer.new(_name, interface).store end describe '#initialize' do it { instance.must_be_instance_of(Compositor) } it { instance.instance_variable_get('@name').must_equal(_name) } end describe '.compose' do subject { described.compose(_name) } # it { skip } context 'when there is no content' do # it { skip } end context 'when there is content' do context 'when the view has redefined the geometry' do # it { skip } end context 'when the view has not redefined the geometry' do # it { skip } end end end end # Compositor end # Vedeu
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.3.5 | test/lib/vedeu/output/compositor_test.rb |