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:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2015-12-28 13:21:01 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-14 14:48:14 +0300
commit9e0e9342a47022a9caaa4a5596ec3ddb91fddc58 (patch)
tree89fa81e680af6c6b88658eafe19a804731802e68 /spec/models
parent612ab584bf919a96eaaaf86ef474f8ffe7cbf2b2 (diff)
Rename method that returns url to CI build artifacts download
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/build_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/build_spec.rb b/spec/models/build_spec.rb
index 1c22e3cb7c4..85cba9c3e57 100644
--- a/spec/models/build_spec.rb
+++ b/spec/models/build_spec.rb
@@ -368,8 +368,8 @@ describe Ci::Build, models: true do
end
end
- describe :download_url do
- subject { build.download_url }
+ describe :artifacts_download_url do
+ subject { build.artifacts_download_url }
it "should be nil if artifact doesn't exist" do
build.update_attributes(artifacts_file: nil)