File: remove-warnings-logger.patch

package info (click to toggle)
ruby-shoulda-context 2.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 476 kB
  • sloc: ruby: 1,712; sh: 200; makefile: 4
file content (22 lines) | stat: -rw-r--r-- 508 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
This library is not packaged

--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,5 +1,4 @@
 require "pry-byebug"
-require "warnings_logger"
 
 TEST_FRAMEWORK = ENV.fetch("TEST_FRAMEWORK", "minitest")
 
@@ -25,11 +24,6 @@
     Minitest::Assertion
   end
 
-WarningsLogger::Spy.call(
-  project_name: "shoulda-context",
-  project_directory: Pathname.new("../..").expand_path(__FILE__)
-)
-
 require_relative "support/rails_application_with_shoulda_context"
 
 require_relative "../lib/shoulda/context"