about summary refs log tree commit homepage
path: root/t/rails3-app/config/initializers/secret_token.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-03 23:01:20 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-03 23:01:20 +0000
commite687ede9cd390b09bf1e87c6de18924ec57ff3c3 (patch)
treec08e580f888dc3d8db9e1051602f64254ac705f6 /t/rails3-app/config/initializers/secret_token.rb
parent8e55e561a1bcba57bf429c9c2111ec5351fcb1b3 (diff)
downloadunicorn-e687ede9cd390b09bf1e87c6de18924ec57ff3c3.tar.gz
We'll be switching to Isolate and shell-based tests
since the old test/unit-based Rails test was basically
a shell script written in Ruby.
Diffstat (limited to 't/rails3-app/config/initializers/secret_token.rb')
-rw-r--r--t/rails3-app/config/initializers/secret_token.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/rails3-app/config/initializers/secret_token.rb b/t/rails3-app/config/initializers/secret_token.rb
new file mode 100644
index 0000000..2d38cf9
--- /dev/null
+++ b/t/rails3-app/config/initializers/secret_token.rb
@@ -0,0 +1,7 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+Rails.application.config.secret_token = '71ca844cc99ed2057a65cc6bd66b57fbbf69e8d4aef00072e41c3e896635e99ea485a6ed45f6e846d5547d614235df146a9756920b8b4a1726a53e75cda45bd1'