aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2012-10-30 18:12:23 -0200
committerSantiago Pastorino <santiago@wyeworks.com>2012-11-03 14:57:54 -0200
commitfb0cea2b8cf61cde1aa4c640b56e896fbe308aa1 (patch)
tree5b106a4db62c0e13f0ace00c8785e48b78b0d070 /railties/test/generators
parent38c40dbbc1de5837a05d762be95e69105acc929c (diff)
downloadrails-fb0cea2b8cf61cde1aa4c640b56e896fbe308aa1.tar.gz
rails-fb0cea2b8cf61cde1aa4c640b56e896fbe308aa1.tar.bz2
rails-fb0cea2b8cf61cde1aa4c640b56e896fbe308aa1.zip
Add encrypted cookie store
Diffstat (limited to 'railties/test/generators')
-rw-r--r--railties/test/generators/app_generator_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index 62e1f3531e..5ea31f2e0f 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -341,7 +341,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
def test_new_hash_style
run_generator [destination_root]
assert_file "config/initializers/session_store.rb" do |file|
- assert_match(/config.session_store :cookie_store, key: '_.+_session'/, file)
+ assert_match(/config.session_store :encrypted_cookie_store, key: '_.+_session'/, file)
end
end