Compatibility with Wordpress 3.0

* Tags are now imported from a 3.0 dump
* Authors are not imported from 3.0, as they are not part of the dump
* simple_format now doesn't sanitize the content anymore
This commit is contained in:
Marc Remolt
2011-06-02 16:43:14 +02:00
parent afb35f58ad
commit 4e3905fcb9
3 changed files with 14 additions and 10 deletions

View File

@@ -235,9 +235,9 @@ describe Refinery::WordPress::Dump, :type => :model do
it { BlogPost.should have(1).record }
it "should copy the attributes from Refinery::WordPress::Page" do
it "should copy the attributes from Refinery::WordPress::Post" do
@post.title.should == post.title
@post.body.should == post.content
@post.body.should == post.content_formatted
@post.draft.should == post.draft?
@post.published_at.should == post.post_date
@post.created_at.should == post.post_date