diff --git a/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb b/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
index 1efc1e8ebddeb65c498e3e78c95297d8ed573999..974fbcc7195a014cfb9372ebf80a5ada60da9db3 100644
--- a/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
+++ b/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
@@ -26,7 +26,7 @@ module Ci
           allow_failure: false,
           when: "on_success",
           environment: nil,
-          yaml_variables: {}
+          yaml_variables: []
         })
       end
 
@@ -443,7 +443,7 @@ module Ci
           allow_failure: false,
           when: "on_success",
           environment: nil,
-          yaml_variables: {}
+          yaml_variables: []
         })
       end
 
@@ -696,7 +696,7 @@ module Ci
           when: "on_success",
           allow_failure: false,
           environment: nil,
-          yaml_variables: {}
+          yaml_variables: []
         })
       end
 
@@ -824,7 +824,7 @@ module Ci
             when: "on_success",
             allow_failure: false,
             environment: nil,
-            yaml_variables: {}
+            yaml_variables: []
           })
         end
       end
@@ -869,7 +869,7 @@ module Ci
             when: "on_success",
             allow_failure: false,
             environment: nil,
-            yaml_variables: {}
+            yaml_variables: []
           })
           expect(subject.second).to eq({
             stage: "build",