forked from toolshed/abra
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			350 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			350 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
setup_file(){
 | 
						|
  load "$PWD/tests/integration/helpers/common"
 | 
						|
  _common_setup
 | 
						|
  _add_server
 | 
						|
}
 | 
						|
 | 
						|
teardown_file(){
 | 
						|
  _rm_server
 | 
						|
}
 | 
						|
 | 
						|
setup(){
 | 
						|
  load "$PWD/tests/integration/helpers/common"
 | 
						|
  _common_setup
 | 
						|
}
 | 
						|
 | 
						|
@test "validate app argument" {
 | 
						|
  run $ABRA app config
 | 
						|
  assert_failure
 | 
						|
 | 
						|
  run $ABRA app config DOESNTEXIST
 | 
						|
  assert_failure
 | 
						|
}
 |