<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -22,29 +22,32 @@ describe '/tasks/show' do
     template.stub!(:authenticated).and_return Person.observer
     template.stub!(:instance).and_return { Task.find(@task) }
   end
-  subject { render '/tasks/show', :layout=&gt;'single' }
 
+  describe 'common' do
+    before do
+      render '/tasks/show', :layout=&gt;'single'
+    end
 
-  should_have_tag 'title', &quot;Singleshot &amp;mdash; Absence request&quot;
-  should_have_tag 'script[src^=/javascripts/jquery.js]'
-  should_have_tag 'script[src^=/javascripts/singleshot.js]'
-  should_have_tag 'link[href^=/stylesheets/common.css]'
-  should_have_tag 'link[href^=/stylesheets/task.css]'
+    should_have_tag 'title', &quot;Singleshot &amp;mdash; Absence request&quot;
+    should_have_tag 'script[src^=/javascripts/jquery.js]'
+    should_have_tag 'script[src^=/javascripts/singleshot.js]'
+    should_have_tag 'link[href^=/stylesheets/common.css]'
+    should_have_tag 'link[href^=/stylesheets/task.css]'
 
-  should_have_tag 'div#header + div#details'
-  should_have_tag '#header ol.sections li', 3
-  should_have_tag '#header ol.sections li.logo + li.meta + li.actions'
-  should_have_tag '#header ol.sections li.meta span.title', &quot;Absence request&quot;
-  should_not_have_tag '#header ol.sections li.actions form'
-  should_have_tag '#details div.description + hr + ul.meta + ol.activities'
-  should_have_tag '#details div.description', &quot;Employee wants their leave of absence approved&quot;
-  should_have_tag '#details ul.meta li.priority.priority-2', &quot;Normal priority&quot;
-  should_not_have_tag '#details ul.meta li.due_on'
-  should_have_tag '#details ol.activities li span.title + span.published'
-  should_have_tag '#details ol.activities li span.title a.fn.url'
-  should_have_tag '#details ol.activities li', /Creator created this task/
+    should_have_tag 'div#header + div#details'
+    should_have_tag '#header ol.sections li', 3
+    should_have_tag '#header ol.sections li.logo + li.meta + li.actions'
+    should_have_tag '#header ol.sections li.meta span.title', &quot;Absence request&quot;
+    should_not_have_tag '#header ol.sections li.actions form'
+    should_have_tag '#details div.description + hr + ul.meta + ol.activities'
+    should_have_tag '#details div.description', &quot;Employee wants their leave of absence approved&quot;
+    should_have_tag '#details ul.meta li.priority.priority-2', &quot;Normal priority&quot;
+    should_not_have_tag '#details ul.meta li.due_on'
+    should_have_tag '#details ol.activities li span.title + span.published'
+    should_have_tag '#details ol.activities li span.title a.fn.url'
+    should_have_tag '#details ol.activities li', /Creator created this task/
+  end
   
-
   describe 'to owner' do
     before do
       Person.owner.task(@task).update_attributes! :owner=&gt;Person.owner</diff>
      <filename>spec/views/tasks/show_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ccb4e27296473254f888e0542f81b3f9124158f9</id>
    </parent>
  </parents>
  <author>
    <name>Assaf Arkin</name>
    <email>assaf@labnotes.org</email>
  </author>
  <url>http://github.com/intalio/singleshot/commit/0ec2e209f5fada8910989162e8f728144455cc34</url>
  <id>0ec2e209f5fada8910989162e8f728144455cc34</id>
  <committed-date>2009-06-29T11:27:49-07:00</committed-date>
  <authored-date>2009-06-29T11:27:49-07:00</authored-date>
  <message>Fixed view specs to work with latest RSpec/Remarkable</message>
  <tree>a2d221990aa12b467c0db2eb07b767f4f8f5bc78</tree>
  <committer>
    <name>Assaf Arkin</name>
    <email>assaf@labnotes.org</email>
  </committer>
</commit>
