summaryrefslogtreecommitdiff
path: root/tests/Feature/RouteTest.php
blob: c491d1fc28bfee329d3dc15a1d2571b4b908fd23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

it('renders the products page', function () {
    $this->get('/products')->assertOk();
});

it('renders the categories page', function () {
    $this->get('/categories')->assertOk();
});

it('renders the orders page', function () {
    $this->get('/orders')->assertOk();
});

it('redirects home to products', function () {
    $this->get('/')->assertRedirect('/products');
});