diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-08-29 01:04:06 +0400 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-08-29 01:04:06 +0400 |
commit | 7cdc5b9e0438c35c83fce739a764cb146d20c004 (patch) | |
tree | 42cfe847873dee51c54d32c81a8543c2d75fce50 /features/support | |
parent | aded7056fd3a9830215f41233ef609c0f9a3b862 (diff) |
Use similar interface to access gitolite
Simplified gitolite handle logic
Stubn over monkeypatch
Stub only specific methods in Gitlab:Gitolite
Moved grach auth to lib
added specs for keys observer
removes SshKey role
Diffstat (limited to 'features/support')
-rw-r--r-- | features/support/env.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/features/support/env.rb b/features/support/env.rb index 80a465b472c..0d9a9ed4281 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -5,10 +5,12 @@ end require 'cucumber/rails' require 'webmock/cucumber' + WebMock.allow_net_connect! require Rails.root.join 'spec/factories' require Rails.root.join 'spec/support/monkeypatch' +require Rails.root.join 'spec/support/gitolite_stub' require Rails.root.join 'spec/support/login_helpers' require Rails.root.join 'spec/support/valid_commit' @@ -48,3 +50,9 @@ headless = Headless.new headless.start require 'cucumber/rspec/doubles' + +include GitoliteStub + +Before do + stub_gitolite! +end |