summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2017-09-05 17:28:03 +0200
committerJames Lopez <james@jameslopez.es>2017-09-05 17:47:45 +0200
commit1d57ae8f8410e814e79ea0a6bbb9c714aad37e4f (patch)
tree7c7ba4a9b2bff3838080d1695f6f41a467ec3ac5
parentd8d05e5f284a3e3324ee51149ff278ba1dfbd43c (diff)
downloadgitlab-ce-1d57ae8f8410e814e79ea0a6bbb9c714aad37e4f.tar.gz
fix typo
-rw-r--r--spec/lib/gitlab/import_export/project_tree_saver_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/import_export/project_tree_saver_spec.rb b/spec/lib/gitlab/import_export/project_tree_saver_spec.rb
index ac2d6ca536d..8e3554375e8 100644
--- a/spec/lib/gitlab/import_export/project_tree_saver_spec.rb
+++ b/spec/lib/gitlab/import_export/project_tree_saver_spec.rb
@@ -117,7 +117,7 @@ describe Gitlab::ImportExport::ProjectTreeSaver do
expect(saved_project_json['pipelines'].first['statuses'].count { |hash| hash['type'] == 'Ci::Build' }).to eq(1)
end
- it 'builds do not call the attributes for retrieving when' do
+ it 'has no when YML attributes but only the DB column' do
allow_any_instance_of(Ci::Pipeline).to receive(:ci_yaml_file).and_return(File.read(Rails.root.join('spec/support/gitlab_stubs/gitlab_ci.yml')))
expect_any_instance_of(Ci::GitlabCiYamlProcessor).not_to receive(:build_attributes)