do you mean like this

'''ruby
subject do
   let!(:commentable) {FactoryGirl.create(:comment)}
end
it_behaves_like "a commentable"
'''