Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blade component to include feed links #148

Merged
merged 6 commits into from
May 17, 2021
Merged

Blade component to include feed links #148

merged 6 commits into from
May 17, 2021

Conversation

seschi98
Copy link
Contributor

@seschi98 seschi98 commented May 15, 2021

This should fix issue #147 😄

@freekmurze
Copy link
Member

Nice, could you also add a test for this?

@seschi98
Copy link
Contributor Author

Nice, could you also add a test for this?

You mean to verify that the links are inserted in the DOM if the component is used? Sure, I'll add that :)

@seschi98
Copy link
Contributor Author

@freekmurze I added a route that renders the blade component (with a little helper method because I think it's not nice to add a blade file to the repo) and a test that creates a snapshot of the result, just like with the other route where the file is @included. Hope thats allright with you 🤔

@freekmurze
Copy link
Member

The tests seem to be failing. Could you take a look at that?

@seschi98
Copy link
Contributor Author

@freekmurze In some environments there was a trailing space. I don't know where that came from, but it works if you trim() the result. Hope that's okay with you...

@freekmurze freekmurze merged commit 000418e into spatie:master May 17, 2021
@freekmurze
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants