Add tests
This commit is contained in:
		
							parent
							
								
									8a57c37c33
								
							
						
					
					
						commit
						826aca7217
					
				@ -8,4 +8,14 @@ describe "brew", :integration_test do
 | 
			
		||||
      .and not_to_output.to_stderr
 | 
			
		||||
      .and be_a_success
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  it "does not require i18n" do
 | 
			
		||||
    # This is a transitive dependency of activesupport, but we don't use it.
 | 
			
		||||
    expect { I18n }.to raise_error(NameError)
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  it "does not require ActiveSupport::Inflector" do
 | 
			
		||||
    # ActiveSupport inflections are slow to load, so we don't use them.
 | 
			
		||||
    expect { ActiveSupport::Inflector }.to raise_error(NameError)
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user