Add env variables to test and fix some of them

This commit is contained in:
riggraz
2019-09-24 12:57:32 +02:00
parent 2967b4eba0
commit c554d68f54
6 changed files with 41 additions and 31 deletions

View File

@@ -3,6 +3,10 @@
# your test database is "scratch space" for the test suite and is wiped
# and recreated between test runs. Don't rely on the data there!
# Set up default environment variables
ENV["EMAIL_CONFIRMATION"] = "0"
ENV["POSTS_PER_PAGE"] = "8"
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.