Sha256: f479d077c96e33a4bdadda1d90ee5e09abdb0d5d16b84e875522a0b9a4d689ab
Contents?: true
Size: 372 Bytes
Versions: 1
Compression:
Stored size: 372 Bytes
Contents
require 'spec_helper' module Refinery module Blog describe Comment, type: :model do context "wiring up" do let(:comment) { FactoryBot.create(:blog_comment) } it "saves" do expect(comment).not_to be_nil end it "has a blog post" do expect(comment.post).not_to be_nil end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-blog-4.0.0 | spec/models/refinery/blog/comment_spec.rb |