aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/blog_comments_spec.rb
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2010-08-10 10:08:01 +1200
committerPhilip Arndt <parndt@gmail.com>2010-08-10 10:08:01 +1200
commit69026512c92f5d8173ceecf20a8c8cafb0966eb5 (patch)
tree9b087af43ef72f8b05ecc5da99b9aebfc53c855c /spec/models/blog_comments_spec.rb
parentd999f08151817beb83b8bd2d3994f937c4fa0280 (diff)
parentbe4c8c3836e2d61edd516cac9ba1f4f0cb1ddf3b (diff)
downloadrefinerycms-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.rb20
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