spec/comparing_state_spec.rb in maintain-0.1.5 vs spec/comparing_state_spec.rb in maintain-0.1.6

- old
+ new

@@ -137,22 +137,22 @@ state :closed, 3 end @maintainer = MaintainTest.new end - it "should work with case statements" do - result = case @maintainer.state - when :overdue - nil - when :closed - nil - when :new - "foo" - else - nil - end - result.should == "foo" - end + # it "should work with case statements" do + # result = case @maintainer.state + # when :overdue + # nil + # when :closed + # nil + # when :new + # "foo" + # else + # nil + # end + # result.should == "foo" + # end end describe "integer states" do before :each do MaintainTest.maintain :state, :default => :new do \ No newline at end of file