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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-05 02:43:32 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-05 02:43:32 +0400
commit9a88e4d184e5959cb3b7212d027ae4bbe1c97302 (patch)
treef32cbc1a70e94d9d61137504e48e6dd54b22269b /spec/models/protected_branch_spec.rb
parente16cebac3eaadc0df93576358f60ae4a498ce15f (diff)
Fix some tests. Use travis-ci 1.9.2
Diffstat (limited to 'spec/models/protected_branch_spec.rb')
-rw-r--r--spec/models/protected_branch_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/protected_branch_spec.rb b/spec/models/protected_branch_spec.rb
index 7340ce50ced..0835666a101 100644
--- a/spec/models/protected_branch_spec.rb
+++ b/spec/models/protected_branch_spec.rb
@@ -44,7 +44,7 @@ describe ProtectedBranch do
let(:branch) { create(:protected_branch) }
it 'commits itself to its project' do
- branch.project.should_receive(:commit).with(branch.name)
+ branch.project.repository.should_receive(:commit).with(branch.name)
branch.commit
end
end