aboutsummaryrefslogtreecommitdiffstats
path: root/test/helper.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-10-25 07:24:18 -0500
committerSean Griffin <sean@thoughtbot.com>2014-10-25 07:24:18 -0500
commitdf5723dfbe856abc8c91cc87c609156b432e97d3 (patch)
treeda1f068d958c096e6867bc2402d8201a641d2d96 /test/helper.rb
parent438d553b76f59eed003c8e4bb569936e68e0e7c2 (diff)
downloadrails-df5723dfbe856abc8c91cc87c609156b432e97d3.tar.gz
rails-df5723dfbe856abc8c91cc87c609156b432e97d3.tar.bz2
rails-df5723dfbe856abc8c91cc87c609156b432e97d3.zip
Refactor `#in` and `#not_in`
These methods duplicate a lot of logic from the other predications. We can just use those methods directly, and only build nodes with the same name in our method directly. We've already had one bug that came from building nodes directly, rather than using the proper predicate.
Diffstat (limited to 'test/helper.rb')
0 files changed, 0 insertions, 0 deletions