diff --git a/test/integration/mt_test.rb b/test/integration/mt_test.rb index 9051ad6..f4d45c6 100644 --- a/test/integration/mt_test.rb +++ b/test/integration/mt_test.rb @@ -75,7 +75,7 @@ def test_mt_runs_watch_mode_that_executes_tests_when_files_change # rubocop:disa end # Ignore warning printed to stderr for a known issue with the listen gem - stderr.sub!(/^.*\blisten\.rb.*Add logger to your Gemfile or gemspec\.\n/, "") + stderr.sub!(/^.*add logger to your Gemfile or gemspec.*\n/i, "") assert_empty(stderr) assert_includes(stdout, "Watching for changes to source and test files.")