Friendly_id for fixtures (slugs)

Posted by Obaid on Stack Overflow See other posts from Stack Overflow or by Obaid
Published on 2010-03-23T20:29:49Z Indexed on 2010/03/23 20:33 UTC
Read the original article Hit count: 399

Filed under:
|
|

I am using freindly_id in my application. I have setup a few fixtures in my application. I want to do integration testing on them. During the tests I need the friendly_id, but the DB records created from fixtures do not have the corresponding slugs in the Slug table.

Aren't the slugs automatically created from Fixture data? If not then what can be a solution?

© Stack Overflow or respective owner

Related posts about friendly-id

Related posts about fixtures