Skip to content

Rails Guide on Testing with Fixtures Outdated? #4871

@amro

Description

@amro

Howdy. The Rails Guide on Testing states one should call find on a Fixture to grab an instance of the represented object. That doesn't seem to be the case anymore (w/ Rails 3.1.3, anyway). It seems like calling:

users(:foo)

now actually returns a User.

Is this true? If so, can the guide be updated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions