spec/writer/fetcher/microdata/review_spec.rb in fetcher-microdata-0.0.7 vs spec/writer/fetcher/microdata/review_spec.rb in fetcher-microdata-0.0.8
- old
+ new
@@ -47,18 +47,18 @@
@schema_stub.should_receive(:attributes)
.and_return :id => 234536234, :author => @author_stub, :viewer => @viewer_stub
end
- it 'should include the articleBody' do
+ it 'should include the itemReviewed' do
@properties_hash = {
- "articleBody" => [
+ "itemReviewed" => [
"some body"
]
}
@schema_stub.should_receive(:attributes)
- .and_return :articleBody => "some body", :author => @author_stub, :viewer => @viewer_stub
+ .and_return :itemReviewed => "some body", :author => @author_stub, :viewer => @viewer_stub
end
it 'should include the author' do
@author = stub 'author'
@author_writer = stub 'author writer'
\ No newline at end of file