Sha256: f1febbd7fbb1934b1f9acf612fb8c57d5de2ff15aa67b64bf66d6cef3c320e5c
Contents?: true
Size: 985 Bytes
Versions: 3
Compression:
Stored size: 985 Bytes
Contents
require 'test_helper' require 'vedeu' module Vedeu describe API do describe '.interface' do end describe '.event' do end describe '.run' do end describe '.view' do it 'returns the interface referenced by name' do Vedeu.interface 'Vedeu.view' do width 5 height 5 end Vedeu.view('Vedeu.view').must_be_instance_of(Interface) Vedeu.view('Vedeu.view').name.must_equal('Vedeu.view') end it 'raises an exception if the interface does not exist' do proc { Vedeu.view('unknown') }.must_raise(EntityNotFound) end end end end describe Vedeu do describe '.events' do it 'creates some system events for the client application' do skip end end describe '.log' do it 'returns a logger instance for writing debug messages to' do skip end end describe '.error' do it 'writes an error to the log' do skip end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.1.4 | test/lib/vedeu_test.rb |
vedeu-0.1.3 | test/lib/vedeu_test.rb |
vedeu-0.1.2 | test/lib/vedeu_test.rb |