Skip to content

Commit 014cd00

Browse files
committed
Make sure that we test new behavior
We want to make sure that the status reporter includes a version number for the Skunk library they were using
1 parent 82c0e47 commit 014cd00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/lib/skunk/cli/commands/status_reporter_test.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ def analysed_module.churn
3232
end
3333

3434
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}"
3637
end
3738
end
3839
end

0 commit comments

Comments
 (0)