Skip to content

Commit 9ee2730

Browse files
committed
Add INTEGRATION flag constant
1 parent eda12bb commit 9ee2730

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_helper.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
require 'net/ldap'
44
require 'flexmock/test_unit'
55

6+
# Whether integration tests should be run.
7+
INTEGRATION = ENV.fetch("INTEGRATION", "skip") != "skip"
8+
69
if RUBY_VERSION < "2.0"
710
class String
811
def b

0 commit comments

Comments
 (0)