aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/journey/path/pattern_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* modernizes hash syntax in actionpackXavier Noria2016-08-061-11/+11
|
* applies new string literal convention in actionpack/testXavier Noria2016-08-061-82/+82
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* default pattern to use a joined stringAaron Patterson2015-08-171-12/+14
| | | | | The string we create is almost always the same, so rather than joining all the time, lets join once, then reuse that string everywhere.
* remove StrexpAaron Patterson2015-08-131-37/+34
| | | | | This was a useless object. We can just directly construct a Path::Pattern object without a Strexp object.
* pass anchor directly to `Pattern`Aaron Patterson2015-08-131-14/+13
| | | | | the caller already has it, there is no reason to pack it in to an object and just throw that object away.
* make OR in journey patterns compile to a valid regular expressionKonstantin Haase2014-11-291-0/+2
|
* no more is_a checks on instantiationAaron Patterson2014-05-291-4/+0
|
* Path::Pattern is instantiated internally, so make the contructor require a ↵Aaron Patterson2014-05-291-9/+9
| | | | strexp object
* add an alternate constructor to Strexp that takes a stringAaron Patterson2014-05-291-12/+12
|
* Make ActionDispatch::Journey::Path::Pattern#new raise more meaningful ↵zires2013-02-271-0/+4
| | | | exception message.
* Use ActiveSupport::TestCase in the journey testsRafael Mendonça França2012-12-311-1/+1
|
* Alias refute methods to assert_not and perfer assert_not on testsRafael Mendonça França2012-12-311-5/+5
|
* Integrate Journey into Action DispatchAndrew White2012-12-191-0/+284
Move the Journey code underneath the ActionDispatch namespace so that we don't pollute the global namespace with names that may be used for models. Fixes rails/journey#49.