Skip to content

Commit 97f225f

Browse files
committed
Clean up
1 parent 11ce4f0 commit 97f225f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

spec/spec_helper.rb

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,6 @@ def set_circle_env(define_ci)
3535
ENV.delete 'CIRCLECI'
3636
end
3737

38-
yield
39-
ensure
40-
if (is_ci)
41-
ENV['CIRCLECI'] = orig_circle_ci
42-
else
43-
ENV.delete 'CIRCLECI'
44-
end
45-
end
46-
47-
def define_circle_env()
48-
is_ci = ENV.key?('CIRCLECI')
49-
orig_circle_ci = ENV['CIRCLECI']
50-
51-
5238
yield
5339
ensure
5440
if (is_ci)

0 commit comments

Comments
 (0)