remove unexisting stubs
This commit is contained in:
parent
c75fc9c7a6
commit
f385c7212e
1 changed files with 1 additions and 8 deletions
|
@ -9,17 +9,12 @@ require 'spinach/capybara'
|
||||||
require 'sidekiq/testing/inline'
|
require 'sidekiq/testing/inline'
|
||||||
|
|
||||||
|
|
||||||
%w(gitolite_stub stubbed_repository valid_commit).each do |f|
|
%w(stubbed_repository valid_commit).each do |f|
|
||||||
require Rails.root.join('spec', 'support', f)
|
require Rails.root.join('spec', 'support', f)
|
||||||
end
|
end
|
||||||
|
|
||||||
Dir["#{Rails.root}/features/steps/shared/*.rb"].each {|file| require file}
|
Dir["#{Rails.root}/features/steps/shared/*.rb"].each {|file| require file}
|
||||||
|
|
||||||
#
|
|
||||||
# Stub gitolite
|
|
||||||
#
|
|
||||||
include GitoliteStub
|
|
||||||
|
|
||||||
WebMock.allow_net_connect!
|
WebMock.allow_net_connect!
|
||||||
#
|
#
|
||||||
# JS driver
|
# JS driver
|
||||||
|
@ -49,6 +44,4 @@ Spinach.hooks.before_run do
|
||||||
RSpec::Mocks::setup self
|
RSpec::Mocks::setup self
|
||||||
|
|
||||||
include FactoryGirl::Syntax::Methods
|
include FactoryGirl::Syntax::Methods
|
||||||
|
|
||||||
stub_gitolite!
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue