<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -26,11 +26,11 @@ class ActsAsWikitextTest &lt; ActsAsMarkupTestCase
       assert_match(/&lt;h2&gt;Wikitext Test Text&lt;\/h2&gt;/, @post.body.to_html)
     end
     
-    should &quot;not underscore spaces in URLs&quot; do
+    should &quot;underscore spaces in URLs&quot; do
       @post.body = &quot;[[foo bar]]&quot;
-      assert_match(/&lt;a href=&quot;\/wiki\/foo%20bar&quot;&gt;foo bar&lt;\/a&gt;/, @post.body.to_html)
+      assert_match(/&lt;a href=&quot;\/wiki\/foo_bar&quot;&gt;foo bar&lt;\/a&gt;/, @post.body.to_html)
     end
-  
+    
     context &quot;changing value of wikitext field should return new wikitext object&quot; do
       setup do
         @old_body = @post.body
@@ -64,14 +64,14 @@ class ActsAsWikitextTest &lt; ActsAsMarkupTestCase
   context 'acts_as_wikitext with options' do
     setup do
       class ::Post
-        acts_as_wikitext :body, :wikitext_options =&gt; [ { :space_to_underscore =&gt; true } ]
+        acts_as_wikitext :body, :wikitext_options =&gt; [ { :space_to_underscore =&gt; false } ]
       end
       @post = Post.new(:title =&gt; 'Blah')
     end
     
-    should &quot;underscore spaces in URLs because of :space_to_underscore&quot; do
+    should &quot;not underscore spaces in URLs because of :space_to_underscore option&quot; do
       @post.body = &quot;[[foo bar]]&quot;
-      assert_match(/&lt;a href=&quot;\/wiki\/foo_bar&quot;&gt;foo bar&lt;\/a&gt;/, @post.body.to_html)
+      assert_match(/&lt;a href=&quot;\/wiki\/foo%20bar&quot;&gt;foo bar&lt;\/a&gt;/, @post.body.to_html)
     end
   end
 end</diff>
      <filename>test/acts_as_wikitext_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>30aa87a259d8c714f21763d8ea45b2178f0c5e33</id>
    </parent>
  </parents>
  <author>
    <name>Brian Landau</name>
    <email>brianjlandau@gmail.com</email>
  </author>
  <url>http://github.com/vigetlabs/acts_as_markup/commit/015df7901ec6c68ebd112a8f6c0bc51671728351</url>
  <id>015df7901ec6c68ebd112a8f6c0bc51671728351</id>
  <committed-date>2009-04-27T13:14:43-07:00</committed-date>
  <authored-date>2009-04-27T13:14:43-07:00</authored-date>
  <message>Fix broken test.</message>
  <tree>192c5fd98512e631241bfb8656d7db63d9894a99</tree>
  <committer>
    <name>Brian Landau</name>
    <email>brianjlandau@gmail.com</email>
  </committer>
</commit>
