aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/refinery/blog/comment_spec.rb
blob: 7a35a5930938e0a069a53aa1c56bf4d21af4a62c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'spec_helper'

module Refinery
  module Blog
    describe Comment, type: :model do
      context "wiring up" do
        let(:comment) { FactoryGirl.create(:blog_comment) }

        it "saves" do
          comment.should_not be_nil
        end

        it "has a blog post" do
          comment.post.should_not be_nil
        end
      end
    end
  end
end