diff options
author | Valery Sizov <valery@gitlab.com> | 2015-03-10 12:33:20 +0000 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2015-03-10 12:33:20 +0000 |
commit | c95dfd87376bfe3913def89a34b47ad629e96073 (patch) | |
tree | 462753fd59671671b1617853a70252fa0e8f2581 /spec/models/commit_spec.rb | |
parent | 96e81bddd513b1d4d9e558e13fcf4c5d5f6b141e (diff) | |
parent | 7a6b39c9a919e05d2566bcb3b8b6a4f9b454c71e (diff) | |
download | gitlab-ci-c95dfd87376bfe3913def89a34b47ad629e96073.tar.gz |
Merge branch 'deploy_build_refactoring' into 'master'
Rename method run_deploy_job to create_deploy_builds
See merge request !134
Diffstat (limited to 'spec/models/commit_spec.rb')
-rw-r--r-- | spec/models/commit_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb index f457d09..891cd52 100644 --- a/spec/models/commit_spec.rb +++ b/spec/models/commit_spec.rb @@ -160,7 +160,7 @@ describe Commit do it { should eq(project.gitlab?) } end - describe "run_deploy_job" do + describe "create_deploy_builds" do before do job = FactoryGirl.create :job, project: project job1 = FactoryGirl.create :job, project: project @@ -171,7 +171,7 @@ describe Commit do end it "creates new build for deploy" do - commit.run_deploy_job(commit.ref) + commit.create_deploy_builds(commit.ref) commit.builds.size.should == 3 end |