Sha256: 8c9216bc22bb0e52959127d38f60bc1f078c03ec2303b14815c5809a02062f44
Contents?: true
Size: 490 Bytes
Versions: 17
Compression:
Stored size: 490 Bytes
Contents
require 'spec_helper' describe "articles/show.html.haml" do before(:each) do assign(:article, create(:full_article)) render template: "articles/show" end it "displays redditor text content" do expect(rendered.index("text_block") > 0).to eq true end it "displays redditor video content" do expect(rendered.index("video_block") > 0).to eq true end it "displays redditor slider content" do expect(rendered.index("slider_block") > 0).to eq true end end
Version data entries
17 entries across 17 versions & 1 rubygems