diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-05 00:43:32 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-05 00:43:32 +0200 |
commit | 9a88e4d184e5959cb3b7212d027ae4bbe1c97302 (patch) | |
tree | f32cbc1a70e94d9d61137504e48e6dd54b22269b /spec/models/protected_branch_spec.rb | |
parent | e16cebac3eaadc0df93576358f60ae4a498ce15f (diff) | |
download | gitlab-ce-9a88e4d184e5959cb3b7212d027ae4bbe1c97302.tar.gz |
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.rb | 2 |
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 |