aboutsummaryrefslogblamecommitdiffstats
path: root/spec/models/blog_comments_spec.rb
blob: a7c1d338a245f9235ef2507d41633a60757536b7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                     
                                                                                                           

                       
 
                        
 


                                       
 


                                
 


                                     
 
     
   
require 'spec_helper'
Dir[File.expand_path('../../../features/support/factories/*.rb', __FILE__)].each{|factory| require factory}

describe BlogComment do

  context "wiring up" do

    before(:each) do
      @comment = Factory(: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