aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/routing_assertions_test.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-07 13:35:31 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-07 15:37:31 -0700
commit435b224e7ec42194d974a90b89a4562ee876aafc (patch)
tree7385e6ebb7fb61813d719d7cae8cf770b634a3f6 /actionpack/test/dispatch/routing_assertions_test.rb
parent27eddbb332c4adb533e0699e4b1532c3bd4de222 (diff)
downloadrails-435b224e7ec42194d974a90b89a4562ee876aafc.tar.gz
rails-435b224e7ec42194d974a90b89a4562ee876aafc.tar.bz2
rails-435b224e7ec42194d974a90b89a4562ee876aafc.zip
move `valid?` conditional to the constructor
use a strategy pattern to calculate the conditional in `valid?` in advance.
Diffstat (limited to 'actionpack/test/dispatch/routing_assertions_test.rb')
0 files changed, 0 insertions, 0 deletions