summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-04-12 13:52:22 +0200
committerKamil Trzciński <ayufan@ayufan.eu>2019-04-15 12:50:47 +0200
commitef84f7bbe249980c248c4000958cd145be1b28ba (patch)
treecf705cfe070421ecf960bd2c8bb845a86c863c11
parent026896cca27ac63795bf1d0e606f6813500d9475 (diff)
downloadgitlab-ce-cherry-pick-39eb16aa.tar.gz
Un-quarantine speccherry-pick-39eb16aa
-rw-r--r--spec/lib/gitlab/ci/yaml_processor_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/gitlab/ci/yaml_processor_spec.rb b/spec/lib/gitlab/ci/yaml_processor_spec.rb
index f4b224ae551..0d998d89d73 100644
--- a/spec/lib/gitlab/ci/yaml_processor_spec.rb
+++ b/spec/lib/gitlab/ci/yaml_processor_spec.rb
@@ -615,11 +615,11 @@ module Gitlab
subject { Gitlab::Ci::YamlProcessor.new(YAML.dump(config), opts) }
context "when validating a ci config file with no project context" do
- context "when a single string is provided", :quarantine do
+ context "when a single string is provided" do
let(:include_content) { "/local.gitlab-ci.yml" }
- it "does not return any error" do
- expect { subject }.not_to raise_error
+ it "returns a validation error" do
+ expect { subject }.to raise_error /does not have project/
end
end