All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			
		
			
				
	
	
		
			25 lines
		
	
	
		
			476 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			476 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| setup() {
 | |
|   load "$PWD/tests/integration/helpers/common"
 | |
|   _common_setup
 | |
|   _fetch_recipe
 | |
| }
 | |
| 
 | |
| teardown(){
 | |
|   _reset_recipe
 | |
| }
 | |
| 
 | |
| @test "show unstaged changes" {
 | |
|   run $ABRA recipe diff "$TEST_RECIPE"
 | |
|   assert_success
 | |
|   refute_output --partial 'traefik.enable'
 | |
| 
 | |
|   run sed -i '/traefik.enable=.*/d' "$ABRA_DIR/recipes/$TEST_RECIPE/compose.yml"
 | |
|   assert_success
 | |
| 
 | |
|   run $ABRA recipe diff "$TEST_RECIPE"
 | |
|   assert_success
 | |
|   assert_output --partial 'traefik.enable'
 | |
| }
 |