Fix AppGeneratorTest: serializer option was removed from session_store
This commit is contained in:
parent
3a89386fcf
commit
cd5960e976
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user