diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-10-25 07:24:18 -0500 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-10-25 07:24:18 -0500 |
commit | df5723dfbe856abc8c91cc87c609156b432e97d3 (patch) | |
tree | da1f068d958c096e6867bc2402d8201a641d2d96 /test/nodes | |
parent | 438d553b76f59eed003c8e4bb569936e68e0e7c2 (diff) | |
download | rails-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/nodes')
0 files changed, 0 insertions, 0 deletions