blumilksoftware / blt

Behat+Laravel toolbox. Still in progress.
https://packagist.org/packages/blumilksoftware/blt
3 stars 0 forks source link

Extend eloquent tools #38

Closed JakubKermes closed 6 days ago

JakubKermes commented 4 weeks ago

Add handling for relations, something like:

@eloquent
    Feature: Eloquent test
        Scenario: Check if model has relations
            Given there is a model User in the database
            And there is a model Post in the database
            Then the model User has many Posts
            And the model Post belongs to User