diff options
author | vaidehijoshi <vaidehi.sj@gmail.com> | 2018-06-18 09:32:23 -0700 |
---|---|---|
committer | vaidehijoshi <vaidehi.sj@gmail.com> | 2018-06-18 09:32:23 -0700 |
commit | 3928e52bf849b618584540ee9229c7974f5c9de1 (patch) | |
tree | 3915ab41b31fe9877c80655f6f2e128c0c74fb85 /actionpack/test/controller/request_forgery_protection_test.rb | |
parent | c47c289ac02cb60e8b01bb8b1892c040794b418f (diff) | |
download | rails-3928e52bf849b618584540ee9229c7974f5c9de1.tar.gz rails-3928e52bf849b618584540ee9229c7974f5c9de1.tar.bz2 rails-3928e52bf849b618584540ee9229c7974f5c9de1.zip |
Add test case for the `|` token in Journey scanner
Journey's scanner tokenizes the `|` (:OR) operator when scanning route
urls such as `"/:foo|*bar"`. However, the current scanner test does not
have any test cases for the `|` operator. This commit adds a test case
for this particular token.
Diffstat (limited to 'actionpack/test/controller/request_forgery_protection_test.rb')
0 files changed, 0 insertions, 0 deletions