Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add test for cask failed installation.

  • Loading branch information...
commit 1feabd046482bcfd2e0a3ac8453526b3480ea53f 1 parent c5ebe45
Johan Andersson rejeep authored
14 features/error-reporting.feature
View
@@ -32,4 +32,16 @@ Feature: Error Reporting
"""
/Cask:4:19: Invalid read syntax: ")"
"""
-
+
+ Scenario: Installation failure (dep dependency does not exist)
+ Given this Cask file:
+ """
+ (source "localhost" "http://127.0.0.1:9191/packages/")
+
+ (depends-on "dep")
+ """
+ When I run cask "install"
+ Then I should see command error:
+ """
+ Dependency dep failed to install: Package `invalid-0.0.1' is unavailable
+ """
BIN  servant/packages/dep-0.0.6.tar
View
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.