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 b1c1400..f457d09 100644
--- a/spec/models/commit_spec.rb
+++ b/spec/models/commit_spec.rb
@@ -173,7 +173,7 @@ describe Commit do
it "creates new build for deploy" do
commit.run_deploy_job(commit.ref)
- commit.builds.count.should == 3
+ commit.builds.size.should == 3
end
end
end