19 lines
351 B
Ruby
19 lines
351 B
Ruby
require 'spec_helper'
|
|
|
|
module Refinery
|
|
module Blog
|
|
describe Comment do
|
|
context "wiring up" do
|
|
let(:comment) { FactoryGirl.create(:blog_comment) }
|
|
|
|
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
|
|
end
|