# File test/test_Error.rb, line 255 def test_has_filter_args? @Error.filter_error = { :filter => 'Filter', :arguments => [ 'foo', 'bar' ], :attach_path => '/error', :attach_mask => nil, :exception => RuntimeError.new('test') } assert(@Error.has_filter_args?) @Error.filter_error = { :filter => 'Empty', :arguments => [], :attach_path => '/empty', :attach_mask => nil, :exception => RuntimeError.new('test') } assert(! @Error.has_filter_args?) end