Skip to content

Commit 51a7889

Browse files
Filter out DEPRECATION WARNING lines from the output
1 parent 17e6ae6 commit 51a7889

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example_app_generator/spec/verify_mailer_preview_path_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def capture_exec(*ops)
2222
out = io.readlines
2323
.reject { |line| line =~ /warning: circular argument reference/ }
2424
.reject { |line| line =~ /Gem::Specification#rubyforge_project=/ }
25+
.reject { |line| line =~ /DEPRECATION WARNING/ }
2526
.join
2627
.chomp
2728
CaptureExec.new(out, $?.exitstatus)

0 commit comments

Comments
 (0)