Use metadata to set feature tag for feature specs
The following discussion from !3209 should be addressed:
-
@ddavison started a discussion: Nonblocker comment It's odd we don't derive this metadata from the
spec/features/*
directory. Maybe we should consider doing this later:#=> spec_helper.rb pseudo RSpec.configure do |config| config.define_derived_metadata(path: %r{/spec/feature}) do |meta| meta[:feature] = true end end
That way we could omit the adding the arguably superfluous
:feature
tag.