FEATURE: add new 'convert to staff message' in post wrench menu

This commit is contained in:
Régis Hanol
2014-09-10 23:08:33 +02:00
parent ffc136e9ac
commit 18f8038015
13 changed files with 119 additions and 15 deletions
+8
View File
@@ -70,4 +70,12 @@ describe PostRevision do
changes[:current_wiki].should be_true
end
it "can find post_type changes" do
r = create_rev("post_type" => [1, 2])
changes = r.post_type_changes
changes[:previous_post_type].should == 1
changes[:current_post_type].should == 2
end
end