Skip to content

Commit c126aa1

Browse files
committed
Add a comment about Devise to Endpoint Collection integration test
1 parent 41053ac commit c126aa1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spec/datadog/appsec/integration/contrib/rails/endpoint_collection_spec.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
include Warden::Test::Helpers
1515

1616
before do
17+
# TODO: Remove Devise
18+
# We do not need Devise for this spec, but since Devise pollutes the global namespace,
19+
# it leads to this test being flaky, since it is run in the same process as other
20+
# integration tests that use Devise.
21+
1722
# NOTE: By doing this we are emulating the initial load of the devise rails
1823
# engine for every test case. It will install the required middleware.
1924
# WARNING: This is a hack!

0 commit comments

Comments
 (0)