Commit f7ade3b682a104dca76b0eb4e9a0fbc62cfd9cf7
1 parent
9ad5fbb4
Exists in
master
and in
4 other branches
fix tests
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
spec/lib/gitolite_spec.rb
1 | 1 | require 'spec_helper' |
2 | 2 | |
3 | 3 | describe Gitlab::Gitolite do |
4 | - let(:project) { double('Project', path: 'diaspora') } | |
4 | + let(:project) { double('Project', id: 7, path: 'diaspora') } | |
5 | 5 | let(:gitolite_config) { double('Gitlab::GitoliteConfig') } |
6 | 6 | let(:gitolite) { Gitlab::Gitolite.new } |
7 | 7 | |
8 | 8 | before do |
9 | 9 | gitolite.stub(config: gitolite_config) |
10 | + Project.stub(find: project) | |
10 | 11 | end |
11 | 12 | |
12 | 13 | it { should respond_to :set_key } | ... | ... |