diff options
author | David Yip <yipdw@member.fsf.org> | 2017-11-15 18:26:21 -0600 |
---|---|---|
committer | David Yip <yipdw@member.fsf.org> | 2017-11-15 18:27:25 -0600 |
commit | 08652baab018e65cfc4e1fbcfc909ff01f96ea60 (patch) | |
tree | 3f0f6a7521a57b40400af10bd0460177e898b0bd /spec/controllers/media_controller_spec.rb | |
parent | 8fc54890e50de024683d9b763b8ed8f82d46433a (diff) |
Replace =~ with #matches?. #208.
=~ made sense when we were passing it through to a regex, but we're no longer doing that: TagMatcher looks at individual tags and returns a value that *looks* like what you get out of #=~ but really isn't that meaningful. Probably a good idea to not subvert convention like this and instead use a name with guessable intent.
Diffstat (limited to 'spec/controllers/media_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions