Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-04-23 20:43:21 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-04-25 21:41:06 +0300
commit81a21e57961356a0924b7b1529696f79eded4630 (patch)
treeeecd1f4c2c26902d3c5bca837918c751925b04b6 /spec/models/commit_range_spec.rb
parent6bac823ad4e7de25d478a96097386ecde3b1dc3b (diff)
CommitRange improvements
Diffstat (limited to 'spec/models/commit_range_spec.rb')
-rw-r--r--spec/models/commit_range_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/commit_range_spec.rb b/spec/models/commit_range_spec.rb
index 2d1c1bd1049..474d60ff091 100644
--- a/spec/models/commit_range_spec.rb
+++ b/spec/models/commit_range_spec.rb
@@ -18,8 +18,8 @@ describe CommitRange do
before do
expect(range).to receive(:valid_commits?).and_return(true)
- allow(range).to receive(:commit).with(sha_from).and_return(commit1)
- allow(range).to receive(:commit).with(sha_to).and_return(commit2)
+ allow(range).to receive(:commit_from).and_return(commit1)
+ allow(range).to receive(:commit_to).and_return(commit2)
end
it 'returns an Array of Commits' do