blob: f57cbfeb63f57c2a0a14f95dd57515563e24a4a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- a/spec/helper.rb
+++ b/spec/helper.rb
@@ -1,17 +1,5 @@
$TESTING = true
-if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.6.0")
- require "simplecov"
- require "coveralls"
-
- SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
-
- SimpleCov.start do
- add_filter "/spec"
- minimum_coverage(90)
- end
-end
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
require "thor"
require "thor/group"
@@ -22,8 +10,6 @@ require "rspec"
require "diff/lcs" # You need diff/lcs installed to run specs (but not to run Thor).
require "webmock/rspec"
-WebMock.disable_net_connect!(:allow => "coveralls.io")
-
# Set shell to basic
ENV["THOR_COLUMNS"] = "10000"
$0 = "thor"
|