Sha256: 55940e0c5590b998cc0ce8ee6d6b8bfd8f2252dc8d28190a5ccd2a78b5027941
Contents?: true
Size: 588 Bytes
Versions: 1
Compression:
Stored size: 588 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper.rb') describe Distribution do it 'should respond to has_gsl?' do lambda { Distribution.has_gsl? }.should_not raise_exception if Distribution.has_gsl? expect(defined?(GSL)).to be else expect(defined?(GSL)).to be_nil end end it 'should respond to has_statistics2?' do lambda { Distribution.has_statistics2? }.should_not raise_exception if Distribution.has_statistics2? expect(defined?(Statistics2)).to be else expect(defined?(Statistics2)).to be_nil end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
distribution-0.8.0 | spec/distribution_spec.rb |