<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -31,6 +31,13 @@ class SimplePagesControllerTest &lt; Test::Unit::TestCase
     assert assigns(:simple_page).new_record?
   end
   
+  def test_edit
+    test_create # put something in the db again
+    get :edit, :id =&gt; 'test_create'
+    assert_response :success
+    assert !assigns(:simple_page).new_record?
+  end
+  
   def test_show
     sp = SimplePage.create(:filename =&gt; 'test_show', :title =&gt; 'Test Show', :content =&gt; '&lt;h1&gt;Content!&lt;/h1&gt;')
     get :show, :id =&gt; 'test_show'</diff>
      <filename>test/simple_pages_controller_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>382188b51a65726053defe5912e91230143854b8</id>
    </parent>
  </parents>
  <author>
    <name>studioda</name>
    <email>studioda@7491b73d-821b-0410-9297-ad1f6b5b4194</email>
  </author>
  <url>http://github.com/JackDanger/simple_pages/commit/43825e1caa1777f919054f429e4a814afbb376e9</url>
  <id>43825e1caa1777f919054f429e4a814afbb376e9</id>
  <committed-date>2007-02-22T21:24:26-08:00</committed-date>
  <authored-date>2007-02-22T21:24:26-08:00</authored-date>
  <message>added a test for the edit action

git-svn-id: http://svn.6brand.com/projects/plugins/simple_pages@318 7491b73d-821b-0410-9297-ad1f6b5b4194</message>
  <tree>18ec486c88ce0278fe216e6bceb778e03ddd2949</tree>
  <committer>
    <name>studioda</name>
    <email>studioda@7491b73d-821b-0410-9297-ad1f6b5b4194</email>
  </committer>
</commit>
