Commit 098ecc8b authored by Rémy Coutable's avatar Rémy Coutable

Ensure QA specs are categorized as feature specs by RSpec

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent f2bc0723
......@@ -32,6 +32,12 @@ module QA
end
def self.configure!
RSpec.configure do |config|
config.define_derived_metadata(file_path: %r{/qa/specs/features/}) do |metadata|
metadata[:type] = :feature
end
end
return if Capybara.drivers.include?(:chrome)
Capybara.register_driver :chrome do |app|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment