summaryrefslogtreecommitdiffstats
path: root/test/unit/issue_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/issue_test.rb')
-rw-r--r--test/unit/issue_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb
index 12a63438d..cc5359862 100644
--- a/test/unit/issue_test.rb
+++ b/test/unit/issue_test.rb
@@ -3422,4 +3422,9 @@ class IssueTest < ActiveSupport::TestCase
r = Issue.like('as_f')
assert_include issue, r
end
+
+ def test_like_should_tokenize
+ r = Issue.like('issue today')
+ assert_include Issue.find(7), r
+ end
end