spec/models/article_spec.rb in redditor-0.1.17 vs spec/models/article_spec.rb in redditor-0.1.20

- old
+ new

@@ -1,11 +1,10 @@ # coding: utf-8 -require 'spec_helper' +require 'rails_helper' describe Article do - context "TEXT" do let(:article) { create(:text_article) } it "have valid number of text blocks from page" do expect(article.page.content_blocks.count).to eq 1 expect(article.page.content_blocks.first.class.name).to eq "Redditor::TextBlock" @@ -34,7 +33,6 @@ expect(article.page.content_blocks.first.position).to eq 1 expect(article.page.content_blocks.last.position).to eq 3 expect(article.page.content_blocks.count).to eq 3 end end # context "VIDEO" - end