Skip to content

Add a true ActiveRecord integration test. #1

@smudge

Description

@smudge

Currently, none of the tests rely on an actual database model, using only ActiveModel::Model classes instead.

To test against an ActiveRecord model, we need to set up this development dependency and helper code to spin up a test database (sqlite is fine). Typically this is accomplished using a "dummy" rails app at spec/dummy, and a spec/rails_helper.rb setup file that can be required in Rails-specific tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions