Sha256: 510f42cd1832afc8bc5e61628cf4646efcd3599e0776a27822d1e9b620d804b7
Contents?: true
Size: 442 Bytes
Versions: 8
Compression:
Stored size: 442 Bytes
Contents
require 'test_helper' class EditRepoTest < Test::Unit::TestCase def test_can_deploy_git_app Hatchet::GitApp.new("rails3_mri_193").in_directory do |app| msg = `touch foo` assert $?.success?, msg msg = `git add .; git commit -m foo` assert $?.success?, msg assert_match "foo", `ls` end Hatchet::GitApp.new("rails3_mri_193").in_directory do |app| refute_match "foo", `ls` end end end
Version data entries
8 entries across 8 versions & 1 rubygems