spec/checker/cpu_spec.rb in eye-0.2.1 vs spec/checker/cpu_spec.rb in eye-0.2.2
- old
+ new
@@ -49,10 +49,10 @@
it "ok" do
Eye::Checker.validate!({:type => :cpu, :every => 5.seconds, :times => 1, :below => 100})
end
it "bad param below" do
- expect{ Eye::Checker.validate!({:type => :cpu, :every => 5.seconds, :times => 1, :below => {1 => 2}}) }.to raise_error(Eye::Checker::Validation::Error)
+ expect{ Eye::Checker.validate!({:type => :cpu, :every => 5.seconds, :times => 1, :below => {1 => 2}}) }.to raise_error(Eye::Dsl::Validation::Error)
end
end
end
\ No newline at end of file