summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-12 11:50:36 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-14 12:48:16 +0100
commitcf00a808cc9896093be209dc5d6bfbea93b6226b (patch)
treef79e9e432d8cc401b019751eadb0b11548b4202a /spec/lib/gitlab
parentcde455c4e63c8c0e798562a29a5df5a7893eec95 (diff)
downloadgitlab-ce-cf00a808cc9896093be209dc5d6bfbea93b6226b.tar.gz
Fix specs for artifacts metadata after changing fixture content
Diffstat (limited to 'spec/lib/gitlab')
-rw-r--r--spec/lib/gitlab/ci/build/artifacts/metadata_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/lib/gitlab/ci/build/artifacts/metadata_spec.rb b/spec/lib/gitlab/ci/build/artifacts/metadata_spec.rb
index 456314768be..5c1a94974e8 100644
--- a/spec/lib/gitlab/ci/build/artifacts/metadata_spec.rb
+++ b/spec/lib/gitlab/ci/build/artifacts/metadata_spec.rb
@@ -16,11 +16,12 @@ describe Gitlab::Ci::Build::Artifacts::Metadata do
it 'matches correct paths' do
expect(subject.first).to contain_exactly 'ci_artifacts.txt',
'other_artifacts_0.1.2/',
- 'rails_sample.jpg'
+ 'rails_sample.jpg',
+ 'tests_encoding/'
end
it 'matches metadata for every path' do
- expect(subject.last.count).to eq 3
+ expect(subject.last.count).to eq 4
end
it 'return Hashes for each metadata' do