Removed commented code in tests

This commit is contained in:
Igor Alexandrov
2023-07-21 18:44:01 +04:00
parent 0cfafd1d25
commit 9c2a1dc7cd

View File

@@ -92,7 +92,6 @@ class ConfigurationTest < ActiveSupport::TestCase
ENV.delete("VERSION")
@config.expects(:`).with("git rev-parse HEAD").returns("git-version")
# @config.expects(:`).with("git status --porcelain").returns("M file\n")
Mrsk::Utils.expects(:uncommitted_changes).returns("M file\n")
assert_match /^git-version_uncommitted_[0-9a-f]{16}$/, @config.version
end