Skip to content

Instantly share code, notes, and snippets.

@michiels
Created December 28, 2011 16:57
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/1528674 to your computer and use it in GitHub Desktop.
Save michiels/1528674 to your computer and use it in GitHub Desktop.
def test_build_creates_workspace_directories
@builder.stubs(:clone_repository)
@builder.build
assert File.exists?(File.expand_path("builds/cool_rails_project")), "Expected directory builds/cool_rails_project to exist."
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment