Merge pull request #19749 from Homebrew/tap-new-no-git
test/dev-cmd/tap-new_spec: use `--no-git` to avoid auth prompt
This commit is contained in:
		
						commit
						4a842f6f1f
					
				@ -10,7 +10,7 @@ RSpec.describe Homebrew::DevCmd::TapNew do
 | 
			
		||||
    # To ensure that Utils::Git.setup_gpg! doesn't raise an error
 | 
			
		||||
    setup_test_formula "gnupg"
 | 
			
		||||
 | 
			
		||||
    expect { brew "tap-new", "homebrew/foo", "--verbose" }
 | 
			
		||||
    expect { brew "tap-new", "--no-git", "--verbose", "homebrew/foo" }
 | 
			
		||||
      .to be_a_success
 | 
			
		||||
      .and output(%r{homebrew/foo}).to_stdout
 | 
			
		||||
      .and not_to_output.to_stderr
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user