Commit 6b9e8421357329998be08c9dda946c0caa8d94b3
1 parent
941a8f98
Exists in
master
and in
5 other branches
Fixed test warnings [skip ci]
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
Rakefile
@@ -5,7 +5,7 @@ task default: :test | @@ -5,7 +5,7 @@ task default: :test | ||
5 | Rake::TestTask.new do |t| | 5 | Rake::TestTask.new do |t| |
6 | t.libs << "test" | 6 | t.libs << "test" |
7 | t.pattern = "test/**/*_test.rb" | 7 | t.pattern = "test/**/*_test.rb" |
8 | - t.warning = false | 8 | + t.warning = false # for elasticsearch and tests |
9 | end | 9 | end |
10 | 10 | ||
11 | # to test in parallel, uncomment and run: | 11 | # to test in parallel, uncomment and run: |
test/scroll_test.rb
@@ -59,7 +59,7 @@ class ScrollTest < Minitest::Test | @@ -59,7 +59,7 @@ class ScrollTest < Minitest::Test | ||
59 | error = assert_raises Searchkick::Error do | 59 | error = assert_raises Searchkick::Error do |
60 | products.scroll | 60 | products.scroll |
61 | end | 61 | end |
62 | - assert_match /Pass .+ option/, error.message | 62 | + assert_match(/Pass .+ option/, error.message) |
63 | end | 63 | end |
64 | 64 | ||
65 | def test_block | 65 | def test_block |