Skip to content

Commit 808fef7

Browse files
authored
Include RailsExampleGroup in spec
Now that we've confirmed the failing test, by including RailsExampleGroup, it should reset CurrentAttributes as expected.
1 parent 9e35e00 commit 808fef7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/rspec/rails/example/rails_example_group_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ module RSpec::Rails
3434
end
3535

3636
describe 'CurrentAttributes', order: :defined do
37+
include RSpec::Rails::RailsExampleGroup
38+
3739
class Current < ActiveSupport::CurrentAttributes
3840
attribute :request_id
3941
end

0 commit comments

Comments
 (0)