diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-18 14:53:21 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-18 14:53:21 +0300 |
commit | 42102b4344027f104b71cd9c254cbd6025992544 (patch) | |
tree | 066fce55c659a9e84553d03e441bb9878b4ec3a8 /spec/lib | |
parent | 38b15e35d48550a5621b8fc292cabc5670897a44 (diff) | |
parent | 63bd1f92d96c9d023723a78259be3c86846e30a5 (diff) |
Merge branch 'after-script' into make-before-after-overridable
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/ci/gitlab_ci_yaml_processor_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb b/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb index 21ec2785559..1fc82331d2e 100644 --- a/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb +++ b/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb @@ -335,12 +335,12 @@ module Ci describe "after_script" do context "in global context" do - let(:config) { + let(:config) do { after_script: ["after_script"], test: { script: ["script"] } } - } + end it "return after_script in options" do expect(subject[:options][:after_script]).to eq(["after_script"]) |