diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-03-04 21:11:02 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-03-04 21:11:02 +0200 |
commit | 70c669ce5cb183b60b902a1bb71221066d3c1d06 (patch) | |
tree | bbbf1d3e3000b479125d24d962e1b00985980bc0 /spec/models/commit_spec.rb | |
parent | c4f1bdd8ae3ec242ea1634b59c8731bee4ef804d (diff) | |
download | gitlab-ci-70c669ce5cb183b60b902a1bb71221066d3c1d06.tar.gz |
fix random failing spec
Diffstat (limited to 'spec/models/commit_spec.rb')
-rw-r--r-- | spec/models/commit_spec.rb | 2 |
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 |