Skip to content

Commit

Permalink
Prevent overriding set by test example aggregate_failures flag
Browse files Browse the repository at this point in the history
  • Loading branch information
floganz committed Dec 18, 2024
1 parent 7b7a6da commit 2043503
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@
end

config.define_derived_metadata do |meta|
meta[:aggregate_failures] = true
unless meta.key?(:aggregate_failures)
meta[:aggregate_failures] = true
end
end
end

0 comments on commit 2043503

Please sign in to comment.