blade(<<<'BLADE' BLADE); expect($html) ->toContain('text-secondary-container') ->toContain('text-on-secondary-container') ->toContain('

No shares yet

') ->toContain('Files you share appear here.') ->toContain('Upload files') ->and(substr_count($html, 'toBe(2); }); it('draws an illustration in place of the shape and icon', function () { $html = (string) $this->blade(<<<'BLADE' BLADE); expect($html) ->toContain('
') ->not->toContain('text-secondary-container') ->not->toContain('text-on-secondary-container') ->toContain('No routes yet') ->and(substr_count($html, 'toBe(1); }); it('keeps the shape and icon while the illustration slot holds nothing but comments', function () { $html = (string) $this->blade(<<<'BLADE' BLADE); expect($html) ->toContain('text-secondary-container') ->toContain('text-on-secondary-container') ->not->toContain('artwork to come') ->and(substr_count($html, 'toBe(2); });