this appears to fix the issue of our test cases breaking. I had specified that if the rails env was a dev env, the key would be a certain value. Instead, it has been changed to any env other than prod

This commit is contained in:
cktricky
2014-03-14 16:53:44 -04:00
parent 7823eadf3c
commit 0a647cbbe6
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
if Rails.env.production? if Rails.env.production?
# Specify env variable/location/etc. to retrieve key from # Specify env variable/location/etc. to retrieve key from
elsif Rails.env.development? else
KEY = "123456789101112123456789101112123456789101112" KEY = "123456789101112123456789101112123456789101112"
end end
+2
View File
@@ -1,3 +1,5 @@
require './config/initializers/key'
module Encryption module Encryption
# Added a re-usable encryption routine, shouldn't be an issue! # Added a re-usable encryption routine, shouldn't be an issue!