diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-28 17:39:02 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-28 17:39:02 +0200 |
commit | 8b54b7233ef58a2a39da9777dbeab59b4024cc75 (patch) | |
tree | 6dbfd49ba68e1b76930281c20dfff607a681744d /spec | |
parent | 1c5876eb7b2deb069d919bd19b51c9f6218e0f41 (diff) | |
download | gitlab-ce-8b54b7233ef58a2a39da9777dbeab59b4024cc75.tar.gz |
Async perform for add/remove team members
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitolite_spec.rb | 2 | ||||
-rw-r--r-- | spec/support/stubbed_repository.rb | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/spec/lib/gitolite_spec.rb b/spec/lib/gitolite_spec.rb index 8075b99ed99..df6dc368820 100644 --- a/spec/lib/gitolite_spec.rb +++ b/spec/lib/gitolite_spec.rb @@ -20,6 +20,6 @@ describe Gitlab::Gitolite do it "should call config update" do gitolite_config.should_receive(:update_project!) - gitolite.update_repository project + gitolite.update_repository(project.id) end end diff --git a/spec/support/stubbed_repository.rb b/spec/support/stubbed_repository.rb index e6e194d70f5..e092f8a4776 100644 --- a/spec/support/stubbed_repository.rb +++ b/spec/support/stubbed_repository.rb @@ -21,6 +21,10 @@ class Project true end + def destroy + true + end + def create true end |