Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

Commit c549ec9

Browse files
authored
Merge pull request #1618 from YaleSTC/1411_fix_ldap_tests
[1411] Running tests with USE_LDAP enabled outside of Yale breaks things
2 parents bc54fa8 + 8704318 commit c549ec9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
# DatabaseCleaner setup (2016-01-04 based on Rails Testing book)
5959
config.before(:suite) do
6060
DatabaseCleaner.clean_with(:deletion)
61+
ENV.delete('USE_LDAP')
6162
end
6263

6364
config.before(:each) do

0 commit comments

Comments
 (0)