<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,6 +3,8 @@ class JobsController &lt; InheritedResources::Base
 
   before_filter :authorize, :only =&gt; [:edit]
 
+  respond_to :atom, :only =&gt; :index
+  
   def create
     create! { root_url }
   end</diff>
      <filename>app/controllers/jobs_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -25,4 +25,10 @@ Feature: Jobs
     And I follow &quot;This is a job&quot;
     Then I should see &quot;This is a job at thoughtbot&quot;
     And I should see &quot;user interface to the metal - you should love doing it all.&quot;
-  
\ No newline at end of file
+
+  Scenario: Viewing jobs atom feed
+    Given a job exists with a title of &quot;This is a job&quot;
+    And a job exists with a title of &quot;Here is another cool job&quot;
+    When I go to the jobs atom feed
+    Then I should see &quot;This is a job at thoughtbot&quot;
+    And I should see an entry for &quot;Here is another cool job at thoughtbot&quot;</diff>
      <filename>features/jobs.feature</filename>
    </modified>
    <modified>
      <diff>@@ -20,7 +20,8 @@ module NavigationHelpers
       presentation_path(@presentation)
     when /new presentation page/i
       new_presentation_path
-
+    when /the jobs atom feed/i
+      jobs_path :format =&gt; :atom
     # Add more page name =&gt; path mappings here
 
     else</diff>
      <filename>features/support/paths.rb</filename>
    </modified>
    <modified>
      <diff>@@ -54,6 +54,27 @@ class JobsControllerTest &lt; ActionController::TestCase
     should_redirect_to(&quot;home&quot;) { root_path }
   end
 
+  context &quot;on GET to /jobs :format =&gt; 'atom' with jobs&quot; do
+    setup do
+      Factory(:job)
+      get :index, :format =&gt; 'atom'
+    end
+
+    should_assign_to       :jobs
+    should_render_template 'index.atom'
+    should_respond_with    :success
+  end
+
+  context &quot;on GET to /jobs :format =&gt; 'atom' without jobs&quot; do
+    setup do
+      get :index, :format =&gt; 'atom'
+    end
+
+    should_assign_to       :jobs
+    should_render_template 'index.atom'
+    should_respond_with    :success
+  end
+  
   context 'on PUT to /jobs/:id when signed in' do
     setup do
       sign_in</diff>
      <filename>test/functional/jobs_controller_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a27033dfd268b6a985c7f163168b18fa2c28416a</id>
    </parent>
  </parents>
  <author>
    <name>Nathan Verni</name>
    <email>npverni@gmail.com</email>
  </author>
  <url>http://github.com/bostonrb/bostonrb/commit/16908478bb9a49b60809f48c487f343e526767c8</url>
  <id>16908478bb9a49b60809f48c487f343e526767c8</id>
  <committed-date>2009-10-29T10:04:13-07:00</committed-date>
  <authored-date>2009-10-29T08:32:26-07:00</authored-date>
  <message>Test, Feature and code for Jobs Atom Feed</message>
  <tree>51a153e64ce67a4a46242829db11141597ec2302</tree>
  <committer>
    <name>Harold Gim&#233;nez</name>
    <email>harold.gimenez@gmail.com</email>
  </committer>
</commit>
