diff options
| author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-18 07:51:49 -0400 |
|---|---|---|
| committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-18 07:51:49 -0400 |
| commit | 63bd1f92d96c9d023723a78259be3c86846e30a5 (patch) | |
| tree | 72fd3e32b4cfba6637a972dfe4d6f2977ad85f0f /spec/lib | |
| parent | c764b57f09ac55d181d17db018bdea9587fadea8 (diff) | |
| download | gitlab-ce-63bd1f92d96c9d023723a78259be3c86846e30a5.tar.gz | |
Fix rubocop complains
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 2421d6eee8f..b94fec2ddfd 100644 --- a/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb +++ b/spec/lib/ci/gitlab_ci_yaml_processor_spec.rb @@ -295,12 +295,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"]) |
