Skip to content

Found an error in the beginning of Chapter 8.1 #76

@peng90

Description

@peng90

After creating order model and perform rake db:migrate, it is still necessary to run rake db:test:prepare before starting bundle exec rspec spec/models/order_spec.rb. Otherwise the test will fail and complain "Migrations are pending..." This is not mentioned in the book and may cause confusion to other users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions