diff options
Diffstat (limited to 'qa/qa/scenario/test/instance.rb')
-rw-r--r-- | qa/qa/scenario/test/instance.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qa/qa/scenario/test/instance.rb b/qa/qa/scenario/test/instance.rb index 2117a610efb..e41c742376a 100644 --- a/qa/qa/scenario/test/instance.rb +++ b/qa/qa/scenario/test/instance.rb @@ -20,13 +20,18 @@ module QA def self.do_perform(address, *rspec_options) Runtime::Scenario.define(:gitlab_address, address) + ## + # Perform before hooks, which are different for CE and EE + # + Runtime::Release.perform_before_hooks + Specs::Runner.perform do |specs| specs.tty = true specs.options = if rspec_options.any? rspec_options else - ::File.expand_path('../../specs/features', __dir__) + ['--tag', self.class.focus.join(','), '--', ::File.expand_path('../../specs/features', __dir__)] end end end |