Sha256: d2c0f2d6eb1ecb4a655f817b245580e3825530ea9b2b5878b00cc2473786eb85
Contents?: true
Size: 868 Bytes
Versions: 6
Compression:
Stored size: 868 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe SystemMetrics::Config do it 'should be valid by default' do config = SystemMetrics::Config.new config.should be_valid end it 'should be invalid with nil instruments' do config = SystemMetrics::Config.new config.instruments = nil config.should_not be_valid end it 'should be invalid without a store' do config = SystemMetrics::Config.new config.store = nil config.should_not be_valid end it 'should be invalid with a nil path_exclude_patterns' do config = SystemMetrics::Config.new config.path_exclude_patterns = nil config.should_not be_valid end it 'should be invalid with a nil notification_exclude_patterns' do config = SystemMetrics::Config.new config.notification_exclude_patterns = nil config.should_not be_valid end end
Version data entries
6 entries across 6 versions & 1 rubygems