Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michiels/1528643 to your computer and use it in GitHub Desktop.
Save michiels/1528643 to your computer and use it in GitHub Desktop.
module GroundControl
class BuilderTest < Test::Unit::TestCase
def setup
if File.exists?(File.expand_path("builds/cool_rails_project"))
FileUtils.rm_r(File.expand_path("builds/cool_rails_project"))
end
@builder = Builder.new("cool_rails_project", {"git" => "test/repositories/dot_git_rails"}
end
def test_een_verantwoordelijkheid
# Eventuele stubs + setup
@builder.build # Mijn enige public method
# Assertions
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment