summaryrefslogtreecommitdiff
path: root/spec/models/commit_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/commit_spec.rb')
-rw-r--r--spec/models/commit_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb
index 75d5610..c4056e3 100644
--- a/spec/models/commit_spec.rb
+++ b/spec/models/commit_spec.rb
@@ -135,7 +135,7 @@ describe Commit do
FactoryGirl.create :job, job_type: :deploy, project: project
project.reload
- commit.create_deploy_builds(commit.ref)
+ commit.create_deploy_builds
commit.builds.reload
commit.builds.size.should == 1