spec/integration/integration_spec.rb in mongoid-history-0.0.6 vs spec/integration/integration_spec.rb in mongoid-history-0.0.7

- old
+ new

@@ -282,10 +282,10 @@ @comment.update_attributes(:title => "Test4") # version == 4 end describe "undo" do it "should recognize :from, :to options" do - @comment.undo! @user, :from => 2, :to => 4 + @comment.undo! @user, :from => 4, :to => 2 @comment.title.should == "test" end it "should recognize parameter as version number" do @comment.undo! @user, 3