aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_log.rb
blob: b20a098fd861aad26bb198cc3a6d8269b637720c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require "helper/integration_command_test_case"

class IntegrationCommandTestLog < IntegrationCommandTestCase
  def test_log
    FileUtils.cd HOMEBREW_REPOSITORY do
      shutup do
        system "git", "init"
        system "git", "commit", "--allow-empty", "-m", "This is a test commit"
      end
    end
    assert_match "This is a test commit", cmd("log")
  end
end