diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2015-02-28 15:21:17 +0100 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2015-02-28 15:24:42 +0100 |
commit | 76e531545382b4e4848b4d00502daaa02ac3d488 (patch) | |
tree | 1a47556fc4141103c3b83ad99e9fd8f51c6f0b59 /spec/models/commit_spec.rb | |
parent | eefa3a4d2d5abf2d28a4d0688baf5bdbc55c956d (diff) | |
download | gitlab-ci-76e531545382b4e4848b4d00502daaa02ac3d488.tar.gz |
Upgrade to rails 4.1.9
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
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 79cec87..40ccbe4 100644 --- a/spec/models/commit_spec.rb +++ b/spec/models/commit_spec.rb @@ -56,9 +56,9 @@ describe Commit do end it "creates new build" do - commit.builds.count.should == 2 + expect(commit.builds.count(:all)).to eq 2 commit.retry - commit.builds.count.should == 3 + expect(commit.builds.count(:all)).to eq 3 end end |