Skip to content

Assume FactoryBot is available #31

@koppen

Description

@koppen

We include FactoryBot in the Boilerplate, so we should use it where applicable. Notably, controller specs should generate new objects using

  invention = FactoryBot.create(:invention)

rather than

  invention = Invention.create! valid_attributes

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