Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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