RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: zoopyserg
Site: http://railsmuffin.com
How do I test this?
I tried:
# RSpec + Shoulda it {should have_many(:comments).as(:commentable) }
But it doesn't work.
How do I test this?
I tried:
But it doesn't work.