diff options
author | Philip Arndt <parndt@gmail.com> | 2010-08-10 10:08:01 +1200 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2010-08-10 10:08:01 +1200 |
commit | 69026512c92f5d8173ceecf20a8c8cafb0966eb5 (patch) | |
tree | 9b087af43ef72f8b05ecc5da99b9aebfc53c855c /spec/models/blog_comments_spec.rb | |
parent | d999f08151817beb83b8bd2d3994f937c4fa0280 (diff) | |
parent | be4c8c3836e2d61edd516cac9ba1f4f0cb1ddf3b (diff) | |
download | refinerycms-blog-69026512c92f5d8173ceecf20a8c8cafb0966eb5.tar.gz refinerycms-blog-69026512c92f5d8173ceecf20a8c8cafb0966eb5.tar.bz2 refinerycms-blog-69026512c92f5d8173ceecf20a8c8cafb0966eb5.zip |
Merge remote branch 'neotericdesign/master'
Diffstat (limited to 'spec/models/blog_comments_spec.rb')
-rw-r--r-- | spec/models/blog_comments_spec.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/spec/models/blog_comments_spec.rb b/spec/models/blog_comments_spec.rb new file mode 100644 index 0000000..145626d --- /dev/null +++ b/spec/models/blog_comments_spec.rb @@ -0,0 +1,20 @@ +require 'spec_helper' + +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
\ No newline at end of file |