require'spec_helper'Dir[File.expand_path('../../../features/support/factories/*.rb',__FILE__)].each{|factory|requirefactory}describeBlogCommentdocontext"wiring up"dobefore(:each)do@comment=Factory.create(:blog_comment)endit"saves"do@comment.should_notbe_nilendit"has a blog post"do@comment.post.should_notbe_nilendendend