wrong usage of interval method in Finder spec

This commit is contained in:
2011-03-11 15:38:10 +00:00
parent 746d0fea8f
commit 82119fcf69

View File

@@ -44,8 +44,11 @@ describe Redistat::Finder do
finder = Redistat::Finder.depth(:hour)
finder.options[:depth].should == :hour
finder = Redistat::Finder.interval(:hour)
finder.options[:interval].should == :hour
finder = Redistat::Finder.interval(true)
finder.options[:interval].should be_true
finder = Redistat::Finder.interval(false)
finder.options[:interval].should be_false
end