diff --git a/spec/rspec/rails/example/rails_example_group_spec.rb b/spec/rspec/rails/example/rails_example_group_spec.rb index e8639fc3b..3fd474e1d 100644 --- a/spec/rspec/rails/example/rails_example_group_spec.rb +++ b/spec/rspec/rails/example/rails_example_group_spec.rb @@ -91,6 +91,7 @@ def configure_rspec_to_set_current_attrs_before_around_example end it 'does not reset ActiveSupport::CurrentAttributes before examples' do + configure_rspec_to_set_current_attrs_before_around_example group = RSpec::Core::ExampleGroup.describe('A group', uniquely_identifiable_metadata) do include RSpec::Rails::RailsExampleGroup