Sha256: 7fdc2a8463772f37c7b7ac1b7789af620b2b11bf4bff4f7f28c2084b427ce74c
Contents?: true
Size: 870 Bytes
Versions: 5
Compression:
Stored size: 870 Bytes
Contents
require 'test_helper' module Vedeu describe Refresh do describe '.all' do it 'returns an empty collection when there are no registered ' \ 'interfaces' do Interfaces.reset Refresh.all.must_equal([]) end end describe '.by_focus' do it 'raises an exception when there are no registered interfaces' do Focus.reset proc { Refresh.by_focus }.must_raise(NoInterfacesDefined) end end describe '.by_group' do it 'raises an exception when the group cannot be found' do Groups.reset proc { Refresh.by_group('') }.must_raise(GroupNotFound) end end describe '.by_name' do it 'raises an exception when the buffer cannot be found' do proc { Refresh.by_name('') }.must_raise(BufferNotFound) end end end # Refresh end # Vedeu
Version data entries
5 entries across 5 versions & 1 rubygems