# File test/test_Error.rb, line 277 def test_filter_defined? @Error.filter_error = { :filter => 'Filter', :arguments => [ 'foo', 'bar' ], :attach_path => '/error', :attach_mask => nil, :exception => RuntimeError.new('test') } assert(@Error.filter_defined?) @Error.filter_error = { :filter => 'Foo', :arguments => [], :attach_path => '/', :attach_mask => nil, :exception => RuntimeError.new('nothing') } assert(! @Error.filter_defined?) end