Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-08-10 18:53:55 +0300
committerLin Jen-Shin <godfat@godfat.org>2017-08-10 18:53:55 +0300
commit41a5adca7514ced023a2708ab26666db560b58a3 (patch)
tree67118b6da00409ef44a296faec6811184794624c /spec/finders/environments_finder_spec.rb
parent8730cd86570cefa6e964373dff0c2e22013d38fb (diff)
Don't try to create diffs if one of the branch is missing
Also fix a few tests
Diffstat (limited to 'spec/finders/environments_finder_spec.rb')
-rw-r--r--spec/finders/environments_finder_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/finders/environments_finder_spec.rb b/spec/finders/environments_finder_spec.rb
index 0c063f6d5ee..3a8a1e7de74 100644
--- a/spec/finders/environments_finder_spec.rb
+++ b/spec/finders/environments_finder_spec.rb
@@ -12,7 +12,7 @@ describe EnvironmentsFinder do
context 'tagged deployment' do
before do
- create(:deployment, environment: environment, ref: '1.0', tag: true, sha: project.commit.id)
+ create(:deployment, environment: environment, ref: 'v1.1.0', tag: true, sha: project.commit.id)
end
it 'returns environment when with_tags is set' do