Commit ec4306e5ea55059604cad6602982cf67a4927adc
1 parent
323e8569
Exists in
master
and in
21 other branches
Increase text field size
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/index_test.rb
... | ... | @@ -112,12 +112,12 @@ class IndexTest < Minitest::Test |
112 | 112 | end |
113 | 113 | |
114 | 114 | def test_large_text |
115 | - large_value = 10000.times.map { "hello" }.join(" ") | |
115 | + large_value = 20000.times.map { "hello" }.join(" ") | |
116 | 116 | assert_raises { store_names [large_value] } |
117 | 117 | end |
118 | 118 | |
119 | 119 | def test_analyzed_only |
120 | - large_value = 10000.times.map { "hello" }.join(" ") | |
120 | + large_value = 20000.times.map { "hello" }.join(" ") | |
121 | 121 | store [{name: "Product A", alt_description: large_value}] |
122 | 122 | assert_search "product", ["Product A"] |
123 | 123 | end | ... | ... |