aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/tagged_logging_test.rb15
1 files changed, 2 insertions, 13 deletions
diff --git a/activesupport/test/tagged_logging_test.rb b/activesupport/test/tagged_logging_test.rb
index 732a28c56f..0751c2469e 100644
--- a/activesupport/test/tagged_logging_test.rb
+++ b/activesupport/test/tagged_logging_test.rb
@@ -10,13 +10,8 @@ class TaggedLoggingTest < ActiveSupport::TestCase
end
setup do
- @output = StringIO.new
- @logger = ActiveSupport::TaggedLogging.new(MyLogger.new(@output))
- @separator = $,
- end
-
- after do
- $, = @separator
+ @output = StringIO.new
+ @logger = ActiveSupport::TaggedLogging.new(MyLogger.new(@output))
end
test "tagged once" do
@@ -74,10 +69,4 @@ class TaggedLoggingTest < ActiveSupport::TestCase
assert_equal "[BCX] [Jason] Funky time\n[BCX] Junky time!\n", @output.string
end
-
- test "using the correct separator" do
- $, = "_"
- @logger.tagged("BCX", "BDX") { @logger.info "Funky time" }
- assert_equal "[BCX] [BDX] Funky time\n", @output.string
- end
end