From e6fb0c3cafdcdb8308313b6a0f2d2bf791816b17 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Thu, 25 Jul 2013 14:37:15 -0700 Subject: [PATCH] fix post functional test --- test/functional/posts_controller_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/functional/posts_controller_test.rb b/test/functional/posts_controller_test.rb index af8916cd3..c1d1df1bf 100644 --- a/test/functional/posts_controller_test.rb +++ b/test/functional/posts_controller_test.rb @@ -106,6 +106,7 @@ class PostsControllerTest < ActionController::TestCase context "revert action" do setup do + @post.stubs(:merge_version?).returns(false) @post.update_attributes(:tag_string => "zzz") end