Sha256: b6f16bfe8e7458be3ca31e480d679bd50391c40fb563a202c79a90c256ff6148
Contents?: true
Size: 734 Bytes
Versions: 1
Compression:
Stored size: 734 Bytes
Contents
require 'test_helper' module Vedeu describe Compositor do let(:described) { Compositor.new(interface, buffer) } let(:interface) { { name: 'indium' } } let(:buffer) { Buffer.new({ name: 'indium' }) } before do Focus.stubs(:cursor).returns("\e[?25l") Terminal.console.stubs(:print) end describe '#initialize' do it { return_type_for(described, Compositor) } it { assigns(described, '@interface', interface) } it { assigns(described, '@buffer', buffer) } end describe '#compose' do it { return_type_for(described.compose, Array) } it { return_value_for(described.compose, [{}]) } end end # Compositor end # Vedeu
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.2.12 | test/lib/vedeu/output/compositor_test.rb |