aboutsummaryrefslogblamecommitdiffstats
path: root/spec/models/refinery/blog_comment_spec.rb
blob: 455ea4a0fe27c8d149c7036eb1ac0cda5033ad63 (plain) (tree)






















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

module Refinery
  describe BlogComment do

    context "wiring up" do

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