Skip to content

Instantly share code, notes, and snippets.

@monde
Created September 24, 2008 18:37
Show Gist options
  • Save monde/12631 to your computer and use it in GitHub Desktop.
Save monde/12631 to your computer and use it in GitHub Desktop.
# a test harnessing the exit result from dev_tools/github.rb
require 'test/unit'
require 'rubygems'
class TestGithub < Test::Unit::TestCase
def test_build_github_gem
result = `ruby #{File.join(File.dirname(__FILE__), "..", "dev_tools", "github.rb")}`
puts result
assert_equal 0, $?.exitstatus
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment