moved info_spec cask test to its own describe block to fix error
This commit is contained in:
		
							parent
							
								
									75b9eec7ef
								
							
						
					
					
						commit
						9eadee9408
					
				@ -18,12 +18,12 @@ describe "brew info", :integration_test do
 | 
				
			|||||||
      .and not_to_output.to_stderr
 | 
					      .and not_to_output.to_stderr
 | 
				
			||||||
      .and be_a_success
 | 
					      .and be_a_success
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  it "looks for a Cask with the same name if a given Formula does not exist", :needs_macos, :needs_network do
 | 
					describe "brew info", :integration_test, :needs_macos do
 | 
				
			||||||
    setup_remote_tap "homebrew/cask"
 | 
					  it "looks for a Cask with the same name if a given Formula does not exist" do
 | 
				
			||||||
 | 
					    expect { brew "info", "basic-cask" }
 | 
				
			||||||
    expect { brew "info", "firefox" }
 | 
					      .to output(/Found the following cask named "basic-cask" instead:\nbasic-cask: .+\n/).to_stderr
 | 
				
			||||||
      .to output(/Found the following cask named "firefox" instead:\nfirefox: .+ \(auto_updates\)\n/).to_stderr
 | 
					 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user