Sha256: 219daa8a5909e27ee8f961e04d801567e36b1ae9098accd4c5b486ac4d9bf979
Contents?: true
Size: 412 Bytes
Versions: 30
Compression:
Stored size: 412 Bytes
Contents
require 'test_helper' class AllowFailureGitTest < Minitest::Test def test_allowed_failure Hatchet::GitApp.new("no_lockfile", allow_failure: true).deploy do |app| refute app.deployed? assert_match "Gemfile.lock required", app.output end end def test_failure_with_no_flag assert_raise(Hatchet::App::FailedDeploy) do Hatchet::GitApp.new("no_lockfile").deploy end end end
Version data entries
30 entries across 30 versions & 1 rubygems