Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This is a gem that lets your tests create files / dirs and then cleans them up
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
lib
test
.gitignore
CHANGES.txt
Gemfile
Gemfile.lock
Manifest.txt
README.in
README.txt
Rakefile
generate_readme

README.in

<%
  require File.dirname(__FILE__) + "/lib/file_sandbox"
  def show_example(name)
    lines = File.read(File.dirname(__FILE__) + "/examples/#{name}_example.rb").split("\n")
    lines.shift
    lines.join("\n  ")
  end
%>= Project: File Sandbox v<%= FileSandbox::VERSION %>

== Description

File sandbox creates a space for your tests to safely hit the file system. It also makes it easier for them to do so.  By cleaning up after them.

== Usage

in rspec :

  <%= show_example("rspec") %>

in test unit :

  <%= show_example("test_unit") %>
  

== Contact

Author::     Jeremy Stell-Smith
Email::      jeremystellsmith@gmail.com
License::    LGPL License

== Home Page

http://onemanswalk.com
Something went wrong with that request. Please try again.