spec/finder_spec.rb in redistat-0.2.1 vs spec/finder_spec.rb in redistat-0.2.2

- old
+ new

@@ -42,11 +42,14 @@ finder.options[:till].should == @one_hour_ago 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 it "should fetch stats properly" do first_stat, last_stat = create_example_stats