diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2014-02-09 11:47:38 -0500 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-02-11 01:54:17 -0800 |
commit | cd5960e9761c8618a89bf40a3048e330fd08143c (patch) | |
tree | eca26cc0dc4da2eaeeaa420581eb0e9eb9fec20f /railties/test/generators | |
parent | 3a89386fcf8a87c93aaf1571ca8ee4a234086ea8 (diff) | |
download | rails-cd5960e9761c8618a89bf40a3048e330fd08143c.tar.gz rails-cd5960e9761c8618a89bf40a3048e330fd08143c.tar.bz2 rails-cd5960e9761c8618a89bf40a3048e330fd08143c.zip |
Fix AppGeneratorTest: serializer option was removed from session_store
Diffstat (limited to 'railties/test/generators')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 2 |
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 700935fd8d..ddecee2ca1 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -433,7 +433,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', serializer: :json/, file) + assert_match(/config.session_store :cookie_store, key: '_.+_session'/, file) end end |