Sha256: d43be9d99c18db46bebc72aa47f8acd60149c7b0be7084b7e56ba2712bf0c2b1
Contents?: true
Size: 492 Bytes
Versions: 30
Compression:
Stored size: 492 Bytes
Contents
require 'spec_helper' describe LitmusPaper::Metric::ConstantMetric do describe "#current_health" do it "is the value of the weight" do always_healthy = LitmusPaper::Metric::ConstantMetric.new(100) always_healthy.current_health.should == 100 end end describe "#to_s" do it "is the check name and the weight" do always_healthy = LitmusPaper::Metric::ConstantMetric.new(50) always_healthy.to_s.should == "Metric::ConstantMetric(50)" end end end
Version data entries
30 entries across 30 versions & 1 rubygems