Skip to content

Commit 99bb19d

Browse files
committed
Ignore rubyforge_project warnings from captured output
1 parent 92f7b4b commit 99bb19d

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
@@ -25,6 +25,7 @@ def capture_exec(*ops)
2525
# Necessary to ignore warnings from Rails code base
2626
out = io.readlines.
2727
reject { |line| line =~ /warning: circular argument reference/ }.
28+
reject { |line| line =~ /NOTE: Gem::Specification#rubyforge_project=/ }.
2829
join.
2930
chomp
3031
CaptureExec.new(out, $?.exitstatus)

0 commit comments

Comments
 (0)