File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ class StatusReporter < RubyCritic::Command::StatusReporter
20
20
Modules Analysed: <%= analysed_modules_count %>
21
21
StinkScore Average: <%= stink_score_average %>
22
22
<% if worst %>Worst StinkScore: <%= worst.stink_score %> (<%= worst.pathname %>)<% end %>
23
+
24
+ Generated with Skunk v<%= Skunk::VERSION %>
23
25
TEMPL
24
26
)
25
27
Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ def analysed_module.churn
32
32
end
33
33
34
34
it "reports the StinkScore" do
35
- _ ( reporter . update_status_message ) . must_equal output
35
+ _ ( reporter . update_status_message ) . must_include output
36
+ _ ( reporter . update_status_message ) . must_include "Generated with Skunk v#{ Skunk ::VERSION } "
36
37
end
37
38
end
38
39
end
Original file line number Diff line number Diff line change 19
19
require "minitest/autorun"
20
20
require "minitest/pride"
21
21
require "minitest/around/spec"
22
+ require "skunk/rubycritic/analysed_module"
22
23
23
24
def context ( *args , &block )
24
25
describe ( *args , &block )
You can’t perform that action at this time.
0 commit comments