spec/article_spec.rb in reviewed-0.0.4 vs spec/article_spec.rb in reviewed-0.0.5

- old
+ new

@@ -4,11 +4,11 @@ describe 'find_page' do use_vcr_cassette 'article/find_page' it 'finds a page with a matching slug' do article = Reviewed::Article.find('minden-master-ii-grill-review') - article.pages.length.should == 10 + article.pages.length.should == 9 page = article.find_page('performance') page.should == article.pages[2] page.name.should == 'Performance' end end @@ -35,10 +35,10 @@ @article = Reviewed::Article.find('big-green-egg-medium-charcoal-grill-review') @product = @article.primary_product end it "returns the primary product" do - @product.id.should eql('506b06970494340f51809caf') + @product.name.should eql('Big Green Egg Medium') end it "returns a product of the correct class" do @product.class.should == Reviewed::Product end