You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

15 lines
489 B

Feature: Detect
In order to build and deploy an application
As the bin/detect script of the buildpack
I want to determine if the source tree is buildable
Scenario: no *.cabal file
When I run `detect ../features/fixtures/invaliddir`
Then the output should contain "nada"
And the exit status should be 1
Scenario: a *.cabal file
When I run `detect ../features/fixtures/validdir`
Then the output should contain "GHC/Cabal"
And the exit status should be 0