Fix some tests. Use travis-ci 1.9.2
This commit is contained in:
parent
e16cebac3e
commit
9a88e4d184
7 changed files with 10 additions and 36 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue