Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Serhyi Vynohradov's Profile

GitHub User: zoopyserg

Comments by Serhyi Vynohradov

Avatar

How do I test this?

I tried:

ruby
# RSpec + Shoulda
it {should have_many(:comments).as(:commentable) }

But it doesn't work.