1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-23 14:46:18 +09:00

Add coverage for fixing the thing with the dates in the search area (#32958)

This commit is contained in:
Matt Jankowski 2024-11-18 10:42:45 -05:00 committed by GitHub
parent da826fe959
commit 30a7986569
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,6 +16,7 @@ RSpec.describe SearchQueryTransformer do
['"2022-01-01"', '2022-01-01'],
['12345678', '12345678'],
['"12345678"', '12345678'],
['"2024-10-31T23:47:20Z"', '2024-10-31T23:47:20Z'],
].each do |value, parsed|
context "with #{operator}:#{value}" do
let(:query) { "#{operator}:#{value}" }