spec/arguments_spec.rb in progress_bar-1.0.5 vs spec/arguments_spec.rb in progress_bar-1.1.0

- old
+ new

@@ -30,10 +30,10 @@ bar.meters.should == [:bar, :eta] end it "should raise an error when initial max is nonsense" do lambda { - bar = ProgressBar.new(0) + bar = ProgressBar.new(-1) }.should raise_error(ProgressBar::ArgumentError) end end