<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>app/views/answers/_answer.html.erb</filename>
    </added>
    <added>
      <filename>app/views/questions/show.html.erb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -8,4 +8,8 @@ class QuestionsController &lt; ApplicationController
     end
     redirect_to root_path
   end
+
+  def show
+    @question = Question.find(params[:id])
+  end
 end</diff>
      <filename>app/controllers/questions_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,3 @@
 supermarket_mall_vitan:
-  content: supermrketul gima din mall vitan
+  content: supermarketul gima din mall vitan
   question: pisica</diff>
      <filename>test/fixtures/answers.yml</filename>
    </modified>
    <modified>
      <diff>@@ -22,4 +22,14 @@ describe &quot;On a QuestionsController&quot; do
     flash[:error].should.not.be.blank
     should.redirect_to root_path
   end
+
+  it &quot;should show a question&quot; do
+    get :show, :id =&gt; questions(:pisica)
+
+    status.should.be :ok
+    template.should.be &quot;show&quot;
+
+    assert_select &quot;h1&quot;, :count =&gt; 1, :html =&gt; /pisic&#259; cu chilo&#539;i de tabl&#259;/
+    assert_select &quot;#answers li&quot;, :count =&gt; 1, :html =&gt; /supermarketul gima din mall vitan/
+  end
 end</diff>
      <filename>test/functional/questions_controller_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c7bfa6d3994bd01f89d9e45b5d485b9628b0a781</id>
    </parent>
  </parents>
  <author>
    <name>Cristi Balan</name>
    <email>evil@che.lu</email>
  </author>
  <url>http://github.com/valentinbora/wherethefuck/commit/9fe792613eb0fd1dea356f5a9971b10181d20231</url>
  <id>9fe792613eb0fd1dea356f5a9971b10181d20231</id>
  <committed-date>2009-07-04T07:48:56-07:00</committed-date>
  <authored-date>2009-07-04T07:48:56-07:00</authored-date>
  <message>add questions#show</message>
  <tree>8256b629e2d84303b55681604ba349db78fa1889</tree>
  <committer>
    <name>Cristi Balan</name>
    <email>evil@che.lu</email>
  </committer>
</commit>
