Fix some tests. Use travis-ci 1.9.2

This commit is contained in:
Dmitriy Zaporozhets 2013-01-05 00:43:32 +02:00
parent e16cebac3e
commit 9a88e4d184
7 changed files with 10 additions and 36 deletions

View file

@ -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