File tree 4 files changed +2
-8
lines changed
lib/cc/engine/analyzers/helpers
4 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ gem 'pry'
5
5
gem 'posix-spawn'
6
6
gem 'sexp_processor'
7
7
gem 'json'
8
- gem 'mocha'
9
8
10
9
group :test do
11
10
gem 'rake'
Original file line number Diff line number Diff line change 8
8
ruby_parser (~> 3.0 )
9
9
sexp_processor (~> 4.0 )
10
10
json (1.8.3 )
11
- metaclass (0.0.4 )
12
11
method_source (0.8.2 )
13
12
minitest (5.8.0 )
14
13
minitest-reporters (1.0.20 )
15
14
ansi
16
15
builder
17
16
minitest (>= 5.0 )
18
17
ruby-progressbar
19
- mocha (1.1.0 )
20
- metaclass (~> 0.0.1 )
21
18
posix-spawn (0.3.11 )
22
19
pry (0.10.1 )
23
20
coderay (~> 1.1.0 )
@@ -38,7 +35,6 @@ DEPENDENCIES
38
35
json
39
36
minitest
40
37
minitest-reporters
41
- mocha
42
38
posix-spawn
43
39
pry
44
40
rake
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ module Helpers
7
7
BASE_POINTS = 10_000
8
8
9
9
def flay
10
- @flay ||= ::Flay . new ( options )
10
+ @flay ||= ::Flay . new ( flay_options )
11
11
end
12
12
13
13
def new_violation ( issue , location , other )
@@ -49,7 +49,7 @@ def format_locations(other)
49
49
other . map { |location | format_location ( location ) }
50
50
end
51
51
52
- def options
52
+ def flay_options
53
53
{
54
54
diff : false ,
55
55
mass : mass_threshold ,
Original file line number Diff line number Diff line change 2
2
require 'minitest/autorun'
3
3
require 'minitest/reporters'
4
4
require 'minitest/unit'
5
- require 'mocha/mini_test'
6
5
Minitest ::Reporters . use! Minitest ::Reporters ::DefaultReporter . new
7
6
8
7
def read_up
You can’t perform that action at this time.
0 commit comments