File tree 1 file changed +43
-1
lines changed
1 file changed +43
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,49 @@ load _helper
4
4
5
5
export BATS_FIXTURE_EXPORT_CODEBASE_ENABLED=1
6
6
7
- @test " ahoy build" {
7
+ @test " ahoy assemble" {
8
+ run ahoy assemble
9
+ assert_success
10
+
11
+ assert_output_contains " ASSEMBLE COMPLETE"
12
+ assert_dir_exists " ${BUILD_DIR} /build/vendor"
13
+ assert_file_exists " ${BUILD_DIR} /build/composer.json"
14
+ assert_file_exists " ${BUILD_DIR} /build/composer.lock"
15
+
16
+ ahoy reset
17
+ }
18
+
19
+ @test " ahoy start" {
20
+ ahoy start
21
+ assert_failure
22
+
23
+ ahoy assemble
24
+ run ahoy start
25
+ assert_success
26
+
27
+ assert_output_contains " ENVIRONMENT READY"
28
+
29
+ run ahoy reset
30
+ }
31
+
32
+ @test " ahoy stop" {
33
+ run ahoy stop
34
+ assert_success
35
+ assert_output_contains " ENVIRONMENT STOPPED"
36
+
37
+ ahoy assemble
38
+ ahoy start
39
+
40
+ run ahoy stop
41
+ assert_success
42
+
43
+ assert_output_contains " ENVIRONMENT STOPPED"
44
+
45
+ run ahoy reset
46
+ }
47
+
48
+
49
+ @test " ahoy build - basic workflow" {
8
50
run ahoy build
9
51
assert_success
10
52
assert_output_contains " PROVISION COMPLETE"
You can’t perform that action at this time.
0 commit comments