Permalink
Browse files

Fix AppGeneratorTest: serializer option was removed from session_store

  • Loading branch information...
1 parent 3a89386 commit cd5960e9761c8618a89bf40a3048e330fd08143c @guilleiguaran guilleiguaran committed with chancancode Feb 9, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/generators/app_generator_test.rb
@@ -433,7 +433,7 @@ def test_no_active_record_or_test_unit_if_skips_given
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

0 comments on commit cd5960e

Please sign in to comment.