diff options
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 |