spec/lib/wp2middleman/frontmatter_spec.rb in wp2middleman-0.0.2 vs spec/lib/wp2middleman/frontmatter_spec.rb in wp2middleman-0.0.3

- old
+ new

@@ -1,9 +1,9 @@ require 'spec_helper' describe WP2Middleman::Migrator do def post(attributes = {}) - defaults = {title: "mytitle", date_published: "mydate", tags: "mytags", published?: false} + defaults = {title: "mytitle", date_time_published: "mydate", tags: "mytags", published?: false} @post ||= double(defaults.merge attributes) end it "includes the title, date, and tags from the post" do frontmatter = WP2Middleman::Frontmatter.new(post).post_data