Skip to content

Commit 6d34d01

Browse files
committed
Make sure that we load skunk's analysed_module before testing anything
This helps in running and debugging individual tests. If we don't do this, we get an error about `def stink_score` being undefined.
1 parent 014cd00 commit 6d34d01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
require "minitest/autorun"
2020
require "minitest/pride"
2121
require "minitest/around/spec"
22+
require "skunk/rubycritic/analysed_module"
2223

2324
def context(*args, &block)
2425
describe(*args, &block)

0 commit comments

Comments
 (0)