mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 21:57:19 +00:00
Add coverage for fixing the thing with the dates in the search area (#32958)
This commit is contained in:
parent
da826fe959
commit
30a7986569
|
@ -16,6 +16,7 @@ RSpec.describe SearchQueryTransformer do
|
||||||
['"2022-01-01"', '2022-01-01'],
|
['"2022-01-01"', '2022-01-01'],
|
||||||
['12345678', '12345678'],
|
['12345678', '12345678'],
|
||||||
['"12345678"', '12345678'],
|
['"12345678"', '12345678'],
|
||||||
|
['"2024-10-31T23:47:20Z"', '2024-10-31T23:47:20Z'],
|
||||||
].each do |value, parsed|
|
].each do |value, parsed|
|
||||||
context "with #{operator}:#{value}" do
|
context "with #{operator}:#{value}" do
|
||||||
let(:query) { "#{operator}:#{value}" }
|
let(:query) { "#{operator}:#{value}" }
|
||||||
|
|
Loading…
Reference in a new issue