Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Fix test render packr config #770

Merged
merged 3 commits into from
Nov 27, 2017
Merged

Conversation

stanislas-m
Copy link
Member

Related to gobuffalo/packr#21

Many buffalo render tests are based on bad usage of Packr, allowing resources to be fetch from outside the box. Typical cases use temp files from /tmp, but without initializing the templates box. This works now because of a fallback trick on MustBytes, but this kind of use case can't work with a built box.

This pull request fixes these tests, which will be broken by gobuffalo/packr#21 otherwise.

@stanislas-m stanislas-m added the bug Something isn't working label Nov 23, 2017
@markbates markbates added this to the 0.10.2 milestone Nov 27, 2017
@markbates markbates merged commit 5e03e0a into development Nov 27, 2017
@markbates markbates deleted the fix-test-render-packr-config branch November 27, 2017 16:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants