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

module Refinery
  describe BlogComment do

    context "wiring up" do

      before(:each) do
        @comment = FactoryGirl.create(:blog_comment)
      end

      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