<?xml version="1.0" encoding="UTF-8"?>
<ticket>
  <assigned-user-id type="integer">13443</assigned-user-id>
  <attachments-count type="integer">0</attachments-count>
  <closed type="boolean">true</closed>
  <created-at type="datetime">2008-08-04T15:40:27-04:00</created-at>
  <creator-id type="integer">13443</creator-id>
  <milestone-due-on type="datetime" nil="true"></milestone-due-on>
  <milestone-id type="integer" nil="true"></milestone-id>
  <number type="integer">62</number>
  <permalink>automatically-find-and-load-3rd-party-test-macros</permalink>
  <priority type="integer">22570</priority>
  <project-id type="integer">5807</project-id>
  <raw-data type="binary" nil="true" encoding="base64"></raw-data>
  <state>committed</state>
  <tag>macros</tag>
  <title>automatically find and load 3rd party test macros</title>
  <updated-at type="datetime">2008-08-31T13:25:32-04:00</updated-at>
  <user-id type="integer">12160</user-id>
  <user-name>Ryan McGeary</user-name>
  <creator-name>Tammer Saleh</creator-name>
  <assigned-user-name>Tammer Saleh</assigned-user-name>
  <url>http://thoughtbot.lighthouseapp.com/projects/5807/tickets/62</url>
  <original-body>Since we're writing lots of macros for our apps, and it's becoming hard to keep track of them, we started a convention of putting each macro (or set of macros) in a separate file under test/macros/.

Shoulda should search for any @test/macros/*.rb@ file, and automatically require it.  In addition, to make it easy for plugin/gem authors to include shoulda macros, we should require the @vendor/plugins/*/shoulda_macros/*.rb@ and @vendor/gems/*/shoulda_macros/*.rb@ files.</original-body>
  <latest-body>Since we're writing lots of macros for our apps, and it's becoming hard to keep track of them, we started a convention of putting each macro (or set of macros) in a separate file under test/macros/.

Shoulda should search for any @test/macros/*.rb@ file, and automatically require it.  In addition, to make it easy for plugin/gem authors to include shoulda macros, we should require the @vendor/plugins/*/shoulda_macros/*.rb@ and @vendor/gems/*/shoulda_macros/*.rb@ files.</latest-body>
  <original-body-html>&lt;div&gt;&lt;p&gt;
Since we're writing lots of macros for our apps, and it's becoming hard to keep track of them, we started a convention of putting each macro (or set of macros) in a separate file under test/macros/.
&lt;/p&gt;&lt;p&gt;
Shoulda should search for any &lt;code&gt;test/macros/*.rb&lt;/code&gt; file, and automatically require it.  In addition, to make it easy for plugin/gem authors to include shoulda macros, we should require the &lt;code&gt;vendor/plugins/*/shoulda_macros/*.rb&lt;/code&gt; and &lt;code&gt;vendor/gems/*/shoulda_macros/*.rb&lt;/code&gt; files.
&lt;/p&gt;&lt;/div&gt;</original-body-html>
  <versions type="array">
    <version type="Ticket::Version">
      <assigned-user-id type="integer">13443</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Since we're writing lots of macros for our apps, and it's becoming hard to keep track of them, we started a convention of putting each macro (or set of macros) in a separate file under test/macros/.

Shoulda should search for any @test/macros/*.rb@ file, and automatically require it.  In addition, to make it easy for plugin/gem authors to include shoulda macros, we should require the @vendor/plugins/*/shoulda_macros/*.rb@ and @vendor/gems/*/shoulda_macros/*.rb@ files.</body>
      <body-html>&lt;div&gt;&lt;p&gt;
Since we're writing lots of macros for our apps, and it's becoming hard to keep track of them, we started a convention of putting each macro (or set of macros) in a separate file under test/macros/.
&lt;/p&gt;&lt;p&gt;
Shoulda should search for any &lt;code&gt;test/macros/*.rb&lt;/code&gt; file, and automatically require it.  In addition, to make it easy for plugin/gem authors to include shoulda macros, we should require the &lt;code&gt;vendor/plugins/*/shoulda_macros/*.rb&lt;/code&gt; and &lt;code&gt;vendor/gems/*/shoulda_macros/*.rb&lt;/code&gt; files.
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-08-04T15:40:27-04:00</created-at>
      <creator-id type="integer">13443</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">62</number>
      <permalink>automatically-find-and-load-3rd-party-test-macros</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">5807</project-id>
      <state>new</state>
      <tag>macros</tag>
      <title>automatically find and load 3rd party test macros</title>
      <updated-at type="datetime">2008-08-04T15:40:27-04:00</updated-at>
      <user-id type="integer">13443</user-id>
      <user-name>Tammer Saleh</user-name>
      <creator-name>Tammer Saleh</creator-name>
      <assigned-user-name>Tammer Saleh</assigned-user-name>
      <url>http://thoughtbot.lighthouseapp.com/projects/5807/tickets/62</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">13443</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>+1

For consistency, I'd like the test version to use the same naming convention. e.g. test/shoulda_macros/*.rb instead of test/macros/*.rb</body>
      <body-html>&lt;div&gt;&lt;p&gt;
+1
&lt;/p&gt;&lt;p&gt;
For consistency, I'd like the test version to use the same naming convention. e.g. test/shoulda_macros/*.rb instead of test/macros/*.rb
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-08-04T15:44:24-04:00</created-at>
      <creator-id type="integer">13443</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">62</number>
      <permalink>automatically-find-and-load-3rd-party-test-macros</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">5807</project-id>
      <state>new</state>
      <tag>macros</tag>
      <title>automatically find and load 3rd party test macros</title>
      <updated-at type="datetime">2008-08-04T15:44:24-04:00</updated-at>
      <user-id type="integer">10900</user-id>
      <user-name>Dan Croak</user-name>
      <creator-name>Tammer Saleh</creator-name>
      <assigned-user-name>Tammer Saleh</assigned-user-name>
      <url>http://thoughtbot.lighthouseapp.com/projects/5807/tickets/62</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">13443</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Dan - good point, and I agree.  we were using &quot;macros&quot; before, but renaming is worth it.</body>
      <body-html>&lt;div&gt;&lt;p&gt;
Dan - good point, and I agree.  we were using &quot;macros&quot; before, but renaming is worth it.
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-08-04T15:50:49-04:00</created-at>
      <creator-id type="integer">13443</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">62</number>
      <permalink>automatically-find-and-load-3rd-party-test-macros</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">5807</project-id>
      <state>new</state>
      <tag>macros</tag>
      <title>automatically find and load 3rd party test macros</title>
      <updated-at type="datetime">2008-08-04T15:50:49-04:00</updated-at>
      <user-id type="integer">13443</user-id>
      <user-name>Tammer Saleh</user-name>
      <creator-name>Tammer Saleh</creator-name>
      <assigned-user-name>Tammer Saleh</assigned-user-name>
      <url>http://thoughtbot.lighthouseapp.com/projects/5807/tickets/62</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">13443</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>This has been committed.</body>
      <body-html>&lt;div&gt;&lt;p&gt;
This has been committed.
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-08-04T16:17:49-04:00</created-at>
      <creator-id type="integer">13443</creator-id>
      <diffable-attributes type="yaml">--- 
:state: new
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">62</number>
      <permalink>automatically-find-and-load-3rd-party-test-macros</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">5807</project-id>
      <state>committed</state>
      <tag>macros</tag>
      <title>automatically find and load 3rd party test macros</title>
      <updated-at type="datetime">2008-08-04T16:17:49-04:00</updated-at>
      <user-id type="integer">13443</user-id>
      <user-name>Tammer Saleh</user-name>
      <creator-name>Tammer Saleh</creator-name>
      <assigned-user-name>Tammer Saleh</assigned-user-name>
      <url>http://thoughtbot.lighthouseapp.com/projects/5807/tickets/62</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">13443</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Tammer,

This would be worth a blog post after a few shoulda macros have been created in other gems/plugins (so people can see examples). It should also be stressed that macros need to be tested.</body>
      <body-html>&lt;div&gt;&lt;p&gt;
Tammer,
&lt;/p&gt;&lt;p&gt;
This would be worth a blog post after a few shoulda macros have been created in other gems/plugins (so people can see examples). It should also be stressed that macros need to be tested.
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-08-04T16:23:29-04:00</created-at>
      <creator-id type="integer">13443</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">62</number>
      <permalink>automatically-find-and-load-3rd-party-test-macros</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">5807</project-id>
      <state>committed</state>
      <tag>macros</tag>
      <title>automatically find and load 3rd party test macros</title>
      <updated-at type="datetime">2008-08-04T16:23:29-04:00</updated-at>
      <user-id type="integer">10900</user-id>
      <user-name>Dan Croak</user-name>
      <creator-name>Tammer Saleh</creator-name>
      <assigned-user-name>Tammer Saleh</assigned-user-name>
      <url>http://thoughtbot.lighthouseapp.com/projects/5807/tickets/62</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">13443</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Nice feature.  One question:

http://github.com/thoughtbot/shoulda/commit/56a3f432b274b1762b26ba9516762c4cdc27dd17#comments</body>
      <body-html>&lt;div&gt;&lt;p&gt;
Nice feature.  One question:
&lt;/p&gt;&lt;p&gt;
&lt;a href=&quot;http://github.com/thoughtbot/shoulda/commit/56a3f432b274b1762b26ba9516762c4cdc27dd17#comments&quot;&gt;http://github.com/thoughtbot/sho...&lt;/a&gt;
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-08-04T17:05:39-04:00</created-at>
      <creator-id type="integer">13443</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">62</number>
      <permalink>automatically-find-and-load-3rd-party-test-macros</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">5807</project-id>
      <state>committed</state>
      <tag>macros</tag>
      <title>automatically find and load 3rd party test macros</title>
      <updated-at type="datetime">2008-08-04T17:05:39-04:00</updated-at>
      <user-id type="integer">12160</user-id>
      <user-name>Ryan McGeary</user-name>
      <creator-name>Tammer Saleh</creator-name>
      <assigned-user-name>Tammer Saleh</assigned-user-name>
      <url>http://thoughtbot.lighthouseapp.com/projects/5807/tickets/62</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">13443</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Crap.  reopened.</body>
      <body-html>&lt;div&gt;&lt;p&gt;
Crap.  reopened.
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-08-04T18:38:09-04:00</created-at>
      <creator-id type="integer">13443</creator-id>
      <diffable-attributes type="yaml">--- 
:state: committed
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">62</number>
      <permalink>automatically-find-and-load-3rd-party-test-macros</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">5807</project-id>
      <state>new</state>
      <tag>macros</tag>
      <title>automatically find and load 3rd party test macros</title>
      <updated-at type="datetime">2008-08-04T18:38:09-04:00</updated-at>
      <user-id type="integer">13443</user-id>
      <user-name>Tammer Saleh</user-name>
      <creator-name>Tammer Saleh</creator-name>
      <assigned-user-name>Tammer Saleh</assigned-user-name>
      <url>http://thoughtbot.lighthouseapp.com/projects/5807/tickets/62</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">13443</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>http://github.com/thoughtbot/shoulda/commit/a40f78572403d82a981e2e55e2b61036c2852578</body>
      <body-html>&lt;div&gt;&lt;p&gt;&lt;a href=&quot;http://github.com/thoughtbot/shoulda/commit/a40f78572403d82a981e2e55e2b61036c2852578&quot;&gt;
http://github.com/thoughtbot/sho...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-08-31T13:25:32-04:00</created-at>
      <creator-id type="integer">13443</creator-id>
      <diffable-attributes type="yaml">--- 
:state: new
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">62</number>
      <permalink>automatically-find-and-load-3rd-party-test-macros-2</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">5807</project-id>
      <state>committed</state>
      <tag>macros</tag>
      <title>automatically find and load 3rd party test macros</title>
      <updated-at type="datetime">2008-08-31T13:25:32-04:00</updated-at>
      <user-id type="integer">12160</user-id>
      <user-name>Ryan McGeary</user-name>
      <creator-name>Tammer Saleh</creator-name>
      <assigned-user-name>Tammer Saleh</assigned-user-name>
      <url>http://thoughtbot.lighthouseapp.com/projects/5807/tickets/62</url>
    </version>
  </versions>
</ticket>
