aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/blog_posts_spec.rb
blob: 179197d1687c618c939beff440484f406ea9179c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'spec_helper'
Dir[File.expand_path('../../../features/support/factories/*.rb', __FILE__)].each{|factory| require factory}

describe BlogPost do
  context "wiring up" do

      before(:each) do
        @post = Factory(:post)
      end

      it "saves to the database" do
        @post.should_not be_nil
      end

    end
end