<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -8,14 +8,14 @@ require 'fileutils'
 require File.dirname(__FILE__) + '/../lib/pow'
 
 describe &quot;A Directory object&quot; do
-  setup do
+  before do
     FileUtils.mkpath &quot;./test_dir/sub_dir&quot;
     
     @dir = Pow(&quot;./test_dir&quot;)
     @sub_dir = @dir/&quot;sub_dir&quot;
   end 
   
-  teardown do
+  after do
     FileUtils.rm_r @dir.to_s if FileTest.exist?(@dir.to_s)
   end
 
@@ -85,7 +85,7 @@ describe &quot;A Directory object&quot; do
 end
 
 describe &quot;The children of a Directory&quot; do
-  setup do
+  before do
     FileUtils.mkpath &quot;./earth/people&quot;
     FileUtils.mkpath &quot;./earth/places&quot;
     FileUtils.mkpath &quot;./earth/things&quot;
@@ -95,7 +95,7 @@ describe &quot;The children of a Directory&quot; do
     @dir = Pow(&quot;./earth/&quot;)
   end
   
-  teardown do
+  after do
     FileUtils.rm_r @dir.to_s if FileTest.exist?(@dir.to_s)
   end
   
@@ -136,14 +136,14 @@ describe &quot;The children of a Directory&quot; do
 end
   
 describe &quot;Enumerable parts of Directory&quot; do
-  setup do
+  before do
     FileUtils.mkpath &quot;./test_dir/sub_dir&quot;
     
     @dir = Pow(&quot;./test_dir&quot;)
     @sub_dir = @dir/&quot;sub_dir&quot;
   end 
   
-  teardown do
+  after do
     FileUtils.rm_r @dir.to_s if FileTest.exist?(@dir.to_s)
   end
   
@@ -167,12 +167,12 @@ describe &quot;Enumerable parts of Directory&quot; do
 end
 
 describe &quot;Using blocks to create Directory structure&quot; do
-  setup do
+  before do
     FileUtils.mkpath &quot;./test_dir/&quot;
     @dir = Pow(&quot;./test_dir&quot;)
   end
   
-  teardown do
+  after do
     FileUtils.rm_r @dir.to_s if FileTest.exist?(@dir.to_s)
   end
   
@@ -209,4 +209,4 @@ describe &quot;Using blocks to create Directory structure&quot; do
     sub_sub_dir.should be_kind_of(Pow::Directory)
     sub_sub_dir.exists?.should be_true
   end
-end
\ No newline at end of file
+end</diff>
      <filename>spec/directory_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -8,7 +8,7 @@ require 'spec'
 require File.dirname(__FILE__) + '/../lib/pow'
 
 describe Pow::File do
-  setup do
+  before do
     @dir_pathname = &quot;./test_dir&quot;
     @filename = &quot;file.txt&quot;  
     FileUtils.mkpath @dir_pathname
@@ -18,7 +18,7 @@ describe Pow::File do
     @file = Pow(&quot;#{@dir_pathname}/#{@filename}&quot;)
   end 
   
-  teardown do
+  after do
     FileUtils.rm_r @dir_pathname
   end
 
@@ -153,4 +153,4 @@ describe Pow::File do
   it &quot;has a parent dir&quot; do    
     @file.parent.should == @dir
   end
-end
\ No newline at end of file
+end</diff>
      <filename>spec/file_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,7 @@ require File.dirname(__FILE__) + '/spec_helper.rb'
 require 'pow'
 
 describe Pow::Base, &quot;object creation&quot; do
-  setup do
+  before do
     @dir_pathname = &quot;./test_dir&quot;
     FileUtils.mkdir(@dir_pathname)
     
@@ -11,7 +11,7 @@ describe Pow::Base, &quot;object creation&quot; do
     open(@file_pathname, &quot;w+&quot;)
   end 
   
-  teardown do
+  after do
     FileUtils.rmtree @dir_pathname
   end
   
@@ -71,7 +71,7 @@ describe Pow::Base, &quot;object creation&quot; do
 end
 
 describe Pow::Base, &quot;object equality&quot; do
-  setup do
+  before do
     @path = &quot;./blah1/blah2/blah3/blah4&quot;
     @pow = Pow::Base.open(@path)
   end 
@@ -86,7 +86,7 @@ describe Pow::Base, &quot;object equality&quot; do
 end
 
 describe Pow::Base, &quot;nonexistent paths&quot; do
-  setup do
+  before do
     @pow = Pow::Base.open(&quot;./blah/blah/blah/blah&quot;)
   end 
   
@@ -100,12 +100,12 @@ describe Pow::Base, &quot;nonexistent paths&quot; do
 end
 
 describe Pow::Base, &quot;creation&quot; do
-  setup do
+  before do
     FileUtils.mkpath &quot;./test_dir/&quot;
     @dir = Pow(&quot;./test_dir&quot;).create
   end
   
-  teardown do
+  after do
     FileUtils.rm_r @dir.to_s if FileTest.exist?(@dir.to_s)
   end
   
@@ -122,4 +122,4 @@ describe Pow::Base, &quot;creation&quot; do
     path.should be_kind_of(Pow::Directory)
     File.exists?(path.to_s)
   end
-end
\ No newline at end of file
+end</diff>
      <filename>spec/pow_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7b86df65e72add1a0ccb3d800fa45de4fea7c2d0</id>
    </parent>
  </parents>
  <author>
    <name>diego</name>
    <email>diego@miniuni.com</email>
  </author>
  <url>http://github.com/probablycorey/pow/commit/e624c3905086f0da638c9f6b9976acfd495c3877</url>
  <id>e624c3905086f0da638c9f6b9976acfd495c3877</id>
  <committed-date>2009-09-15T13:37:18-07:00</committed-date>
  <authored-date>2009-08-25T21:32:03-07:00</authored-date>
  <message>Switched setup/teardown with before/after... For Rspec 1.2 compatibility.

Signed-off-by: Corey &lt;probablycorey@gmail.com&gt;</message>
  <tree>8899ab89010983f128b5ff91c82efc3d8476e75e</tree>
  <committer>
    <name>Corey</name>
    <email>probablycorey@gmail.com</email>
  </committer>
</commit>
