Created
April 8, 2018 10:36
-
-
Save hanneskaeufler/151562663b5d7d296fcc143ec545e3ff to your computer and use it in GitHub Desktop.
Setup DB for visual testing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create and migrate a new database just for visual regression testing | |
LUCKY_ENV=visual_test lucky db.create && lucky db.migrate | |
# Add one sample post | |
open http://localhost:5000/posts/new | |
# Run the local server with that one sample post | |
LUCKY_ENV=visual_test lucky dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment